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

« back to all changes in this revision

Viewing changes to libmemcached/hosts.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
  /* Why 153? Hmmm... */
93
93
  WATCHPOINT_ASSERT(ct1->value != 153);
94
94
  if (ct1->value == ct2->value)
95
 
    return 0;
 
95
    return EXIT_SUCCESS;
96
96
  else if (ct1->value > ct2->value)
97
 
    return 1;
 
97
    return EXIT_FAILURE;
98
98
  else
99
99
    return -1;
100
100
}