~yeban/libmemcached/todo-host.c

« back to all changes in this revision

Viewing changes to libhashkit/hsieh.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:
23
23
  int rem;
24
24
 
25
25
  if (key_length <= 0 || key == NULL)
26
 
    return 0;
 
26
    return EXIT_SUCCESS;
27
27
 
28
28
  rem = key_length & 3;
29
29
  key_length >>= 2;