X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fmemcp.c;h=d9594d78c8e8d55e6f554af03dac707b3b773c39;hb=824533fd2626b1060855e543aaad381675ae2695;hp=716bfefd03482e94c40d8b881260e598c2d55206;hpb=1b18496b3d1399d90cfba1975f23aee9c747445a;p=m6w6%2Flibmemcached diff --git a/clients/memcp.c b/clients/memcp.c index 716bfefd..d9594d78 100644 --- a/clients/memcp.c +++ b/clients/memcp.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "libmemcached/common.h" #include #include @@ -34,7 +45,7 @@ static time_t opt_expires= 0; int main(int argc, char *argv[]) { memcached_st *memc; - memcached_return rc; + memcached_return_t rc; memcached_server_st *servers; options_parse(argc, argv); @@ -222,6 +233,7 @@ void options_parse(int argc, char *argv[]) break; case OPT_ADD: opt_method= OPT_ADD; + break; case OPT_HASH: opt_hash= strdup(optarg); break;