projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
c2f8357
)
Fix for minor rewrite in clone method of number of hosts.
author
<brian@gir.local>
<>
Sun, 2 Dec 2007 01:00:48 +0000
(17:00 -0800)
committer
<brian@gir.local>
<>
Sun, 2 Dec 2007 01:00:48 +0000
(17:00 -0800)
lib/memcached.c
patch
|
blob
|
history
lib/memcached_fetch.c
patch
|
blob
|
history
diff --git
a/lib/memcached.c
b/lib/memcached.c
index a5be8e255fab93eba37af6c3de2a7b71930b27f1..b474ca5d1ab0cd2253317ded470c096cc878c596 100644
(file)
--- a/
lib/memcached.c
+++ b/
lib/memcached.c
@@
-77,7
+77,6
@@
memcached_st *memcached_clone(memcached_st *clone, memcached_st *ptr)
new_clone->flags= ptr->flags;
- new_clone->number_of_hosts= ptr->number_of_hosts;
new_clone->send_size= ptr->send_size;
new_clone->recv_size= ptr->recv_size;
new_clone->poll_timeout= ptr->poll_timeout;
diff --git
a/lib/memcached_fetch.c
b/lib/memcached_fetch.c
index d96d33fb2e92329fbf44fbab07f8a9b836b6bfa9..ac4f49112c51e7c88e1a348b1bedf49b78511452 100644
(file)
--- a/
lib/memcached_fetch.c
+++ b/
lib/memcached_fetch.c
@@
-212,7
+212,7
@@
memcached_result_st *memcached_fetch_result(memcached_st *ptr,
return NULL;
}
- /*
An error has occurred
*/
+ /*
We have completed reading data
*/
if (result->is_allocated == MEMCACHED_ALLOCATED)
memcached_result_free(result);
else