~kent/libmemcached/KBDocs4

« back to all changes in this revision

Viewing changes to libhashkit/function.c

  • Committer: Brian Aker
  • Date: 2011-03-29 16:54:23 UTC
  • Revision ID: brian@tangent.org-20110329165423-z06a3pew6vwkzaqd
Merge in all scanner tree + virtual buckets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    self->function= hashkit_jenkins;
52
52
    break;    
53
53
  case HASHKIT_HASH_CUSTOM:
 
54
    return HASHKIT_INVALID_ARGUMENT;
54
55
  case HASHKIT_HASH_MAX:
55
56
  default:
56
 
    return HASHKIT_FAILURE;
 
57
    return HASHKIT_INVALID_HASH;
57
58
  }
58
59
 
59
60
  self->context= NULL;