summaryrefslogtreecommitdiff
path: root/Ivy/BufferedSocket.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:53:23 +0000
committerfcolin2007-02-01 12:53:23 +0000
commitde0e97b1d6104588a4fe4720d5906507ebd37ada (patch)
treeab6e5f30b3c96f58422e80f46164de89dfa48911 /Ivy/BufferedSocket.cxx
parent5770cbb3c6543a39a79876cd59c4736803c4d988 (diff)
downloadivy-cplusplus-de0e97b1d6104588a4fe4720d5906507ebd37ada.zip
ivy-cplusplus-de0e97b1d6104588a4fe4720d5906507ebd37ada.tar.gz
ivy-cplusplus-de0e97b1d6104588a4fe4720d5906507ebd37ada.tar.bz2
ivy-cplusplus-de0e97b1d6104588a4fe4720d5906507ebd37ada.tar.xz
Utilisateur : Fcolin Date : 14/11/00 Heure : 18:58 Archivé dans $/Ivy (vss 2)
Diffstat (limited to 'Ivy/BufferedSocket.cxx')
-rw-r--r--Ivy/BufferedSocket.cxx2
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 );