--- a/memcache_test.c Thu Aug 28 00:29:39 2008 +0300
+++ b/memcache_test.c Thu Aug 28 01:34:14 2008 +0300
@@ -18,15 +18,19 @@
if ((mc = memcache_alloc(&_memcache_cb)) == NULL)
ERROR("memcache_alloc");
+ // fix up the endpoint
endpoint_init(&server_endpoint, 11211);
if (endpoint_parse(&server_endpoint, "localhost"))
ERROR("config_endpoint_parse");
-
+
+ // add the server
if (memcache_add_server(mc, &server_endpoint, 1))
ERROR("memcache_add_server");
+
+ // add a request or two
- // XXX: we should have a connect() running now
+
error:
return;