incorrect use in example/memcached_light causing segfaults every 2nd time you ran it.
authorStewart Smith <stewart@flamingspork.com>
Sun, 10 Jan 2010 23:40:03 +0000 (10:40 +1100)
committerStewart Smith <stewart@flamingspork.com>
Sun, 10 Jan 2010 23:40:03 +0000 (10:40 +1100)
example/memcached_light.c

index c4495b5946802eca82b3e4ae11ada8573d9bf9ac..d9e14727a6e664be4910b8d9721a7d29fd09c84d 100644 (file)
@@ -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)