projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Add the LDFLAGS for -lm(floorf)
[m6w6/libmemcached]
/
tests
/
test.c
diff --git
a/tests/test.c
b/tests/test.c
index 6c6bea645c4da1376069b70ef387e48a97447ccf..47db82c733a2e43aec483f3e5fe28d281a570e28 100644
(file)
--- a/
tests/test.c
+++ b/
tests/test.c
@@
-2,7
+2,6
@@
Sample test application.
*/
#include <assert.h>
Sample test application.
*/
#include <assert.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
@@
-45,6
+44,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;