X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fserver.c;h=543d5bacebd21ffc838e00e0921209e1c3858f1e;hb=573d3bb262f51461d7ed4ba06a723a8555637bba;hp=7c2b91c6fe7e2cef9d865a172d53f08116ba9e31;hpb=f7508e07e52d2fdb580832a79c33a3d929fc3859;p=m6w6%2Flibmemcached diff --git a/tests/server.c b/tests/server.c index 7c2b91c6..543d5bac 100644 --- a/tests/server.c +++ b/tests/server.c @@ -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); }