Skip to content

Commit 21c6761

Browse files
committed
fix evan breakage. :)
git-svn-id: http://code.sixapart.com/svn/memcached/trunk@22 b0b603af-a30f-0410-a34e-baf09ae79d0b
1 parent 601b690 commit 21c6761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

memcached.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ void process_command(conn *c, char *command) {
614614
}
615615

616616
if (strcmp(command, "version") == 0) {
617-
out_string(c, "VERSION 2.0");
617+
out_string(c, "VERSION " VERSION);
618618
return;
619619
}
620620

@@ -697,7 +697,7 @@ int try_read_network(conn *c) {
697697

698698
int update_event(conn *c, int new_flags) {
699699
if (c->ev_flags == new_flags)
700-
return 0;
700+
return 1;
701701
if (event_del(&c->event) == -1) return 0;
702702
event_set(&c->event, c->sfd, new_flags, event_handler, (void *)c);
703703
c->ev_flags = new_flags;

0 commit comments

Comments
 (0)