Skip to content

Commit

Permalink
fix evan breakage. :)
Browse files Browse the repository at this point in the history
git-svn-id: http://code.sixapart.com/svn/memcached/trunk@22 b0b603af-a30f-0410-a34e-baf09ae79d0b
  • Loading branch information
bradfitz committed Jun 15, 2003
1 parent 601b690 commit 21c6761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 21c6761

Please sign in to comment.