Updating from Monty
[awesomized/libmemcached] / tests / server.c
index 7c2b91c6fe7e2cef9d865a172d53f08116ba9e31..543d5bacebd21ffc838e00e0921209e1c3858f1e 100644 (file)
@@ -81,7 +81,7 @@ void server_startup(server_startup_st *construct)
           sprintf(buffer, "%s -d -P /tmp/%umemc.pid -t 1 -p %u -U %u",
                  MEMCACHED_BINARY, x, x + TEST_PORT_BASE, x + TEST_PORT_BASE);
         }
-       if (libmemcached_ping("localhost", (in_port_t)(x + TEST_PORT_BASE), NULL))
+       if (libmemcached_util_ping("localhost", (in_port_t)(x + TEST_PORT_BASE), NULL))
        {
          fprintf(stderr, "Server on port %u already exists\n", x + TEST_PORT_BASE);
        }