diff options
Diffstat (limited to 'Ivy/BufferedSocket.cxx')
-rw-r--r-- | Ivy/BufferedSocket.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ivy/BufferedSocket.cxx b/Ivy/BufferedSocket.cxx index 33818a0..39c7203 100644 --- a/Ivy/BufferedSocket.cxx +++ b/Ivy/BufferedSocket.cxx @@ -43,7 +43,7 @@ void CBufferedSocket::OnReceive(int nErrorCode) long nb;
SOCKADDR addr;
- int len;
+ int len = sizeof( addr );
/* limitation taille buffer */
nb_to_read = MAX_BUFFER - ( ptr - buf );
|