git://developer.intra2net.com
/
libt2n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
libt2n: (tomj) made reentrant unit-test more robust. Gave the guard_handle a lot...
[libt2n]
/
src
/
socket_handler.cpp
diff --git
a/src/socket_handler.cpp
b/src/socket_handler.cpp
index
b2bbcd1
..
91d5899
100644
(file)
--- a/
src/socket_handler.cpp
+++ b/
src/socket_handler.cpp
@@
-267,7
+267,7
@@
bool socket_handler::fill_buffer(std::string& buffer)
/// connection because it encapsulates the data.
void socket_handler::socket_write(const std::string& data)
{
- int offset = 0;
+ unsigned int offset = 0;
while (offset < data.size())
{
unsigned int write_size=write_block_size;