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:
2c51ea5
)
Remove dummy check in *flags assignment in memcached_fetch
author
Dmitry Isaykin
<isaikin@nikiasi.home>
Mon, 15 Feb 2010 20:45:37 +0000
(23:45 +0300)
committer
Dmitry Isaykin
<isaikin@nikiasi.home>
Mon, 15 Feb 2010 20:45:37 +0000
(23:45 +0300)
libmemcached/fetch.c
patch
|
blob
|
history
diff --git
a/libmemcached/fetch.c
b/libmemcached/fetch.c
index d76f19b21ac5e175f5d4c1a033b5d6db83c6caf1..321ff85e7d586f0b0ac473c886ec68cbfdcb3e5a 100644
(file)
--- a/
libmemcached/fetch.c
+++ b/
libmemcached/fetch.c
@@
-37,10
+37,7
@@
char *memcached_fetch(memcached_st *ptr, char *key, size_t *key_length,
*key_length= result_buffer->key_length;
}
- if (result_buffer->item_flags)
- *flags= result_buffer->item_flags;
- else
- *flags= 0;
+ *flags= result_buffer->item_flags;
return memcached_string_c_copy(&result_buffer->value);
}