This adds a couple of new options for options parsing.
[m6w6/libmemcached] / libmemcached / callback.c
index 69e47d4d78ad9bd5bdc3c507496928f324e3a87c..6d5285a5fe1416170de6381b64b1571e3f28efb3 100644 (file)
@@ -39,7 +39,7 @@ memcached_return_t memcached_callback_set(memcached_st *ptr,
         memcached_array_free(ptr->prefix_key);
         ptr->prefix_key= memcached_strcpy(ptr, (const char *)data, strlen((const char*)data));
 
-        f (! ptr->prefix_key)
+        if (! ptr->prefix_key)
           return memcached_set_error(ptr, MEMCACHED_MEMORY_ALLOCATION_FAILURE, NULL);
       }
       else