Permalink
Browse files

fix evan breakage. :)

git-svn-id: http://code.sixapart.com/svn/memcached/trunk@22 b0b603af-a30f-0410-a34e-baf09ae79d0b
  • Loading branch information...
1 parent 601b690 commit 21c6761c35613fe454dc3599063dfbde479b3e9f @bradfitz bradfitz committed Jun 15, 2003
Showing with 2 additions and 2 deletions.
  1. +2 −2 memcached.c
View
@@ -614,7 +614,7 @@ void process_command(conn *c, char *command) {
}
if (strcmp(command, "version") == 0) {
- out_string(c, "VERSION 2.0");
+ out_string(c, "VERSION " VERSION);
return;
}
@@ -697,7 +697,7 @@ int try_read_network(conn *c) {
int update_event(conn *c, int new_flags) {
if (c->ev_flags == new_flags)
- return 0;
+ return 1;
if (event_del(&c->event) == -1) return 0;
event_set(&c->event, c->sfd, new_flags, event_handler, (void *)c);
c->ev_flags = new_flags;

0 comments on commit 21c6761

Please sign in to comment.