From: Brian Aker Date: Sat, 8 Dec 2012 13:20:03 +0000 (-0500) Subject: Fix typo in assert message X-Git-Tag: 1.0.15~6^2~6^2~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=65b7303ef858d676779e2f97c0ae381a188c76c8;p=awesomized%2Flibmemcached Fix typo in assert message --- diff --git a/libmemcached/behavior.cc b/libmemcached/behavior.cc index d9a7cf60..33926c83 100644 --- a/libmemcached/behavior.cc +++ b/libmemcached/behavior.cc @@ -505,7 +505,7 @@ uint64_t memcached_behavior_get(memcached_st *ptr, case MEMCACHED_BEHAVIOR_MAX: default: - assert_msg(0, "Invalid behavior passed to memcached_behavior_set()"); + assert_msg(0, "Invalid behavior passed to memcached_behavior_get()"); return 0; } diff --git a/libmemcached/callback.cc b/libmemcached/callback.cc index 36f4b309..3d87f98d 100644 --- a/libmemcached/callback.cc +++ b/libmemcached/callback.cc @@ -147,7 +147,7 @@ void *memcached_callback_get(memcached_st *ptr, break; } - assert_msg(0, "Invalid behavior passed to memcached_behavior_set()"); + assert_msg(0, "Invalid callback passed to memcached_callback_get()"); *error= MEMCACHED_FAILURE; return NULL; }