~yeban/libmemcached/todo-hosts.c-2

« back to all changes in this revision

Viewing changes to clients/memflush.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:
63
63
  if (!initialize_sasl(memc, opt_username, opt_passwd))
64
64
  {
65
65
    memcached_free(memc);
66
 
    return 1;
 
66
    return EXIT_FAILURE;
67
67
  }
68
68
 
69
69
  rc = memcached_flush(memc, opt_expire);
82
82
 
83
83
  shutdown_sasl();
84
84
 
85
 
  return 0;
 
85
  return EXIT_SUCCESS;
86
86
}
87
87
 
88
88