projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Minor cleanup in confirming socket close.
[awesomized/libmemcached]
/
tests
/
libmemcached-1.0
/
mem_functions.cc
diff --git
a/tests/libmemcached-1.0/mem_functions.cc
b/tests/libmemcached-1.0/mem_functions.cc
index 046e543d4bc585c1c4a16fd1e09d8aa9580bcaa6..44143983555b429fb7f52d1dbdcb959c1ed3a940 100644
(file)
--- a/
tests/libmemcached-1.0/mem_functions.cc
+++ b/
tests/libmemcached-1.0/mem_functions.cc
@@
-39,7
+39,7
@@
#include <libtest/test.hpp>
#if defined(HAVE_LIBUUID) && HAVE_LIBUUID
#include <libtest/test.hpp>
#if defined(HAVE_LIBUUID) && HAVE_LIBUUID
-#include <uuid/uuid.h>
+#
include <uuid/uuid.h>
#endif
/*
#endif
/*
@@
-47,8
+47,8
@@
*/
#include <libmemcached-1.0/memcached.h>
*/
#include <libmemcached-1.0/memcached.h>
-#include
<libmemcached/is.h>
-#include
<libmemcached/server_instance.h>
+#include
"libmemcached/is.h"
+#include
"libmemcached/server_instance.h"
#include <libhashkit-1.0/hashkit.h>
#include <libhashkit-1.0/hashkit.h>
@@
-4953,8
+4953,7
@@
test_return_t kill_HUP_TEST(memcached_st *original_memc)
test_literal_param(__func__), // Keys
test_literal_param(__func__), // Values
0, 0);
test_literal_param(__func__), // Keys
test_literal_param(__func__), // Values
0, 0);
- Error << memcached_last_error_message(memc);
- test_compare(MEMCACHED_CONNECTION_FAILURE, ret);
+ test_compare(ret, MEMCACHED_CONNECTION_FAILURE);
memcached_free(memc);
memcached_free(memc);