projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
801d7d5
)
Assert in debug to look for random allocation in get.
author
<brian@gir.tangent.org>
<>
Mon, 4 Feb 2008 07:20:22 +0000
(23:20 -0800)
committer
<brian@gir.tangent.org>
<>
Mon, 4 Feb 2008 07:20:22 +0000
(23:20 -0800)
lib/memcached_get.c
patch
|
blob
|
history
diff --git
a/lib/memcached_get.c
b/lib/memcached_get.c
index 62f142e1815235b84320693064b194ba24186f00..8c3180ab9caf7e39ea7e43815e34d2354bfe7424 100644
(file)
--- a/
lib/memcached_get.c
+++ b/
lib/memcached_get.c
@@
-43,6
+43,7
@@
char *memcached_get_by_key(memcached_st *ptr,
(void)memcached_fetch(ptr, NULL, NULL,
&dummy_length, &dummy_flags,
&dummy_error);
+ WATCHPOINT_ASSERT(dummy_length == 0);
return value;
}