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:
ea2b507
)
Test for 0-length data, which works with the server.
author
<kevin@laminaria>
<>
Wed, 20 Feb 2008 21:43:51 +0000
(13:43 -0800)
committer
<kevin@laminaria>
<>
Wed, 20 Feb 2008 21:43:51 +0000
(13:43 -0800)
tests/function.c
patch
|
blob
|
history
diff --git
a/tests/function.c
b/tests/function.c
index 1312c36d2d0adfa99e0fae5d2863728b43eea894..6bbaa40cda65de55d7db262ae79c1abbaefc0f12 100644
(file)
--- a/
tests/function.c
+++ b/
tests/function.c
@@
-1814,7
+1814,7
@@
uint8_t user_supplied_bug14(memcached_st *memc)
for (x= 0; x < value_length; x++)
value[x] = (char) (x % 127);
- for (current_length=
1
; current_length < value_length; current_length++)
+ for (current_length=
0
; current_length < value_length; current_length++)
{
rc= memcached_set(memc, key, strlen(key),
value, current_length,