From 65b7303ef858d676779e2f97c0ae381a188c76c8 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sat, 8 Dec 2012 08:20:03 -0500 Subject: [PATCH] Fix typo in assert message --- libmemcached/behavior.cc | 2 +- libmemcached/callback.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.30.2