From: Stewart Smith Date: Sun, 10 Jan 2010 23:40:03 +0000 (+1100) Subject: incorrect use in example/memcached_light causing segfaults every 2nd time you ran it. X-Git-Tag: 0.40~125^2~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=9265a3c3fecf76b62e64f13b6aec8d7a3c644907;p=awesomized%2Flibmemcached incorrect use in example/memcached_light causing segfaults every 2nd time you ran it. --- diff --git a/example/memcached_light.c b/example/memcached_light.c index c4495b59..d9e14727 100644 --- a/example/memcached_light.c +++ b/example/memcached_light.c @@ -311,7 +311,6 @@ static void work(void) fds[max_poll].events= POLLIN; fds[max_poll].revents= 0; fds[max_poll].fd= server_sockets[max_poll]; - ++max_poll; } while (true)