~yeban/libmemcached/todo-host.c

« back to all changes in this revision

Viewing changes to clients/memerror.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:
35
35
  options_parse(argc, argv);
36
36
 
37
37
  if (argc != 2)
38
 
    return 1;
 
38
    return EXIT_FAILURE;
39
39
 
40
40
  value= strtoul(argv[1], (char **) NULL, 10);
41
41
 
46
46
  else
47
47
  {
48
48
    fprintf(stderr, "Unknown Error Code\n");
49
 
    return 1;
 
49
    return EXIT_FAILURE;
50
50
  }
51
51
 
52
 
  return 0;
 
52
  return EXIT_SUCCESS;
53
53
}
54
54
 
55
55