Permalink
Browse files

fixed warning from comparing different enum types

Change-Id: I52c0ae14c4633353745a0b1ba1a3956cb1734c5f
Reviewed-on: http://review.membase.org/4805
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Steve Yen <steve.yen@gmail.com>
  • Loading branch information...
1 parent a5a8ffe commit 70fcc6a80572fd000b9d0d65954faf693002841c Aliaksey Kandratsenka committed with steveyen Mar 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 agent_ping.c
View
2 agent_ping.c
@@ -287,7 +287,7 @@ static void ping_server(char *server_name,
mcs_server_st *st = mcs_server_index((void *) &mst, i);
mcs_return rc = mcs_server_st_connect(st, NULL, true);
- if (rc == MEMCACHED_SUCCESS) {
+ if (rc == MCS_SUCCESS) {
struct timeval tv_conn;
gettimeofday(&tv_conn, NULL);
tv_report("conn", start, tv_conn);

0 comments on commit 70fcc6a

Please sign in to comment.