projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
814d911
)
incorrect use in example/memcached_light causing segfaults every 2nd time you ran it.
author
Stewart Smith
<stewart@flamingspork.com>
Sun, 10 Jan 2010 23:40:03 +0000
(10:40 +1100)
committer
Stewart Smith
<stewart@flamingspork.com>
Sun, 10 Jan 2010 23:40:03 +0000
(10:40 +1100)
example/memcached_light.c
patch
|
blob
|
history
diff --git
a/example/memcached_light.c
b/example/memcached_light.c
index c4495b5946802eca82b3e4ae11ada8573d9bf9ac..d9e14727a6e664be4910b8d9721a7d29fd09c84d 100644
(file)
--- 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)