projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Update ax_libmemcached.m4
[awesomized/libmemcached]
/
libtest
/
http.cc
diff --git
a/libtest/http.cc
b/libtest/http.cc
index 9933e12f54eb4ac463c964d3e7e69dbd09b39db4..0af12925f1d730b8b7a04d733d31577b9cf3c9b0 100644
(file)
--- a/
libtest/http.cc
+++ b/
libtest/http.cc
@@
-134,7
+134,7
@@
bool GET::execute()
curl_easy_cleanup(curl);
- return
retref == CURLE_OK
;
+ return
bool(retref == CURLE_OK)
;
#endif
}
@@
-157,6
+157,8
@@
bool POST::execute()
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, _response);
curl_easy_cleanup(curl);
+
+ return bool(retref == CURLE_OK);
#endif
}