Cleanup of spelling error in option.
[m6w6/libmemcached] / lib / memcached_hash.c
index 3ea5df976a3df5d6f945b5b89b26b5c019411456..87c59d510ae55cbc32cff6def7d1817acd8104b6 100644 (file)
@@ -86,7 +86,7 @@ unsigned int memcached_generate_hash(memcached_st *ptr, char *key, size_t key_le
 
   WATCHPOINT_ASSERT(hash);
 
-  if (ptr->distribution == MEMCACHED_DISTRIBUTION_MODULO)
+  if (ptr->distribution == MEMCACHED_DISTRIBUTION_MODULA)
   {
     return hash % ptr->number_of_hosts;
   }