libmemcached: fix #50 with supplied patch
[awesomized/libmemcached] / libmemcached / auto.cc
index 04efe85d7975cdcd3dd4fb55272947353e500477..06e7ab6419646abb82121ce5d9a775fb5aaeaa07 100644 (file)
@@ -54,7 +54,6 @@ static void auto_response(memcached_instance_st* instance, const bool reply,  me
 
   if (memcached_fatal(rc))
   {
-    fprintf(stderr, "%s:%d %s\n", __FILE__, __LINE__, memcached_strerror(NULL, rc));
     assert(memcached_last_error(instance->root) != MEMCACHED_SUCCESS);
     *value= UINT64_MAX;
   }
@@ -236,7 +235,7 @@ static memcached_return_t increment_decrement_with_initial_by_key(const protocol
   if (memcached_is_encrypted(memc))
   {
     return memcached_set_error(*memc, MEMCACHED_NOT_SUPPORTED, MEMCACHED_AT, 
-                               memcached_literal_param("Operation not allowed while encyrption is enabled"));
+                               memcached_literal_param("Operation not allowed while encryption is enabled"));
   }
 
   if (memcached_failed(rc= memcached_key_test(*memc, (const char **)&key, &key_length, 1)))