~dave-terei/libmemcached/sasl-fixes

« back to all changes in this revision

Viewing changes to clients/memcp.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
    if (opt_verbose)
148
148
    {
149
149
      static const char *opstr[] = { "set", "add", "replace" };
150
 
      printf("op: %s\nsource file: %s\nlength: %zu\n"
151
 
             "key: %s\nflags: %x\nexpires: %llu\n",
152
 
             opstr[opt_method - OPT_SET], argv[optind], (size_t)sbuf.st_size,
153
 
             ptr, opt_flags, (unsigned long long)opt_expires);
 
150
      printf("op: %s\nsource file: %s\nlength: %lu\n"
 
151
             "key: %s\nflags: %x\nexpires: %lu\n",
 
152
             opstr[opt_method - OPT_SET], argv[optind], (unsigned long)sbuf.st_size,
 
153
             ptr, opt_flags, (unsigned long)opt_expires);
154
154
    }
155
155
 
156
156
    if ((file_buffer_ptr= (char *)malloc(sizeof(char) * (size_t)sbuf.st_size)) == NULL)