~yeban/libmemcached/todo-host.c

« back to all changes in this revision

Viewing changes to clients/memdump.c

  • Committer: Brian Aker
  • Date: 2011-03-17 21:45:08 UTC
  • Revision ID: brian@tangent.org-20110317214508-ogufz6pusakvcch0
Merge in updates to make sure exit/return is done properly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
  if (!initialize_sasl(memc, opt_username, opt_passwd))
93
93
  {
94
94
    memcached_free(memc);
95
 
    return 1;
 
95
    return EXIT_FAILURE;
96
96
  }
97
97
 
98
98
  rc= memcached_dump(memc, callbacks, NULL, 1);
114
114
 
115
115
  shutdown_sasl();
116
116
 
117
 
  return 0;
 
117
  return EXIT_SUCCESS;
118
118
}
119
119
 
120
120
static void options_parse(int argc, char *argv[])