Clarify what license libmemcache uses
[m6w6/libmemcached] / tests / test.c
index 6c6bea645c4da1376069b70ef387e48a97447ccf..47db82c733a2e43aec483f3e5fe28d281a570e28 100644 (file)
@@ -2,7 +2,6 @@
   Sample test application.
 */
 #include <assert.h>
-#include <stdio.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();
+  else 
+    world_ptr= NULL;
 
   startup_ptr= (server_startup_st *)world_ptr;
   servers= (memcached_server_st *)startup_ptr->servers;