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:
53b7931
)
Fixup for style
author
Brian Aker
<brian@tangent.org>
Tue, 12 Jun 2012 17:48:05 +0000
(18:48 +0100)
committer
Brian Aker
<brian@tangent.org>
Tue, 12 Jun 2012 17:48:05 +0000
(18:48 +0100)
libmemcached/io.cc
patch
|
blob
|
history
diff --git
a/libmemcached/io.cc
b/libmemcached/io.cc
index 85474d3eae215b8b7e33564fc605cf2b6cb7c2b2..bafa28c818a45c16f7b8da226c638e08da793c07 100644
(file)
--- a/
libmemcached/io.cc
+++ b/
libmemcached/io.cc
@@
-477,9
+477,7
@@
memcached_return_t memcached_io_read(memcached_server_write_instance_st ptr,
if (length > 1)
{
- size_t difference;
-
- difference= (length > ptr->read_buffer_length) ? ptr->read_buffer_length : length;
+ size_t difference= (length > ptr->read_buffer_length) ? ptr->read_buffer_length : length;
memcpy(buffer_ptr, ptr->read_ptr, difference);
length -= difference;