From: Date: Wed, 21 May 2008 14:30:15 +0000 (+0900) Subject: Fixed semi colon bug in memcp. X-Git-Tag: 0.21~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=7f50da6ed2f30cc137b51415edc64810ef84c69a;p=awesomized%2Flibmemcached Fixed semi colon bug in memcp. --- diff --git a/ChangeLog b/ChangeLog index 4f3bffb5..7c95c16c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * Change of char * to const char * for all key based functions. * New MEMCACHED_CALLBACK_PREFIX_KEY added. You can now create domains for values. + * Fixed bug introducd in last version on memcp 0.20 Mon May 5 08:34:26 PDT 2008 * New consistent distribution tests. diff --git a/clients/memcp.c b/clients/memcp.c index 5b80fd64..cf06a573 100644 --- a/clients/memcp.c +++ b/clients/memcp.c @@ -106,7 +106,7 @@ int main(int argc, char *argv[]) exit(1); } - if (read_length != sbuf.st_size); + if (read_length != sbuf.st_size) { fprintf(stderr, "Failure reading from file\n"); exit(1);