projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Changed memcached_servers_parse() to take const
[m6w6/libmemcached]
/
tests
/
udp.c
diff --git
a/tests/udp.c
b/tests/udp.c
index b6ad2065ed7f68efd4e5a9a0e32d7d116f8c646d..4c7050e213846b6bd5eac0a465ea7902a998117f 100644
(file)
--- a/
tests/udp.c
+++ b/
tests/udp.c
@@
-14,7
+14,12
@@
#include "test.h"
#include "server.h"
#include "test.h"
#include "server.h"
-uint8_t set_test(memcached_st *memc)
+/* Prototypes */
+test_return set_test(memcached_st *memc);
+void *world_create(void);
+void world_destroy(void *p);
+
+test_return set_test(memcached_st *memc)
{
memcached_return rc;
char *key= "foo";
{
memcached_return rc;
char *key= "foo";
@@
-25,7
+30,7
@@
uint8_t set_test(memcached_st *memc)
(time_t)0, (uint32_t)0);
assert(rc == MEMCACHED_SUCCESS || rc == MEMCACHED_BUFFERED);
(time_t)0, (uint32_t)0);
assert(rc == MEMCACHED_SUCCESS || rc == MEMCACHED_BUFFERED);
- return
0
;
+ return
TEST_SUCCESS
;
}
test_st tests[] ={
}
test_st tests[] ={