Rename HttpSession back to HttpConnection.
This commit is contained in:
@@ -32,7 +32,7 @@ bool CalcClient::Divide(double x, double y, double* result) {
|
||||
}
|
||||
|
||||
bool CalcClient::NotExist(double x, double y, double* result) {
|
||||
return Calc("notexist", "x", "y", x, y, result);
|
||||
return Calc("not_exist", "x", "y", x, y, result);
|
||||
}
|
||||
|
||||
void CalcClient::Init() {
|
||||
|
||||
@@ -29,7 +29,7 @@ int main() {
|
||||
|
||||
// Try to call a non-existing operation.
|
||||
if (calc.NotExist(x, y, &result)) {
|
||||
printf("notexist: %.1f\n", result);
|
||||
printf("not_exist: %.1f\n", result);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user