diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-26 23:22:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-26 23:22:07 +0000 |
commit | b7c16f1ebc0809bb9f85573a37c6bb11f6854aca (patch) | |
tree | 14cfc9a7ab64ed8e7b2a083a0cee015bbd4bc95f /src/socket.cpp | |
parent | 5c731e5c99cc4a60d3918260acb8d83a35077e3e (diff) |
That's enough tweaks for now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3357 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index e240d1208..4c03c933d 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -261,9 +261,9 @@ void InspSocket::FlushWriteBuffer() { if ((this->fd > -1) && (this->state == I_CONNECTED)) { - int result = 0; + int result = 0, v = 0; const char* n = Buffer.c_str(); - int v = Buffer.length(); + v = Buffer.length(); if (v > 0) { result = write(this->fd,n,v); |