projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fixed wrong strtol for stat.
[m6w6/libmemcached]
/
tests
/
test.c
diff --git
a/tests/test.c
b/tests/test.c
index 6c6bea645c4da1376069b70ef387e48a97447ccf..998b25f1158e32b2d5b4884cbcf512ba065e9587 100644
(file)
--- a/
tests/test.c
+++ b/
tests/test.c
@@
-45,6
+45,8
@@
int main(int argc, char *argv[])
if (world.create)
world_ptr= world.create();
if (world.create)
world_ptr= world.create();
+ else
+ world_ptr= NULL;
startup_ptr= (server_startup_st *)world_ptr;
servers= (memcached_server_st *)startup_ptr->servers;
startup_ptr= (server_startup_st *)world_ptr;
servers= (memcached_server_st *)startup_ptr->servers;