summaryrefslogtreecommitdiff
path: root/vos
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-03-15 09:42:00 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-03-15 09:42:00 +0000
commit50f664ae8dc610b62870bcc4ee250ca8d509e6e6 (patch)
treea6e3f2f591ffc357452782b321d531b1d701052e /vos
parentc81db7d594dbfdc1e8c07540bdd2a5c52ac9bade (diff)
out parameter in acceptConnection is now initialized to zero
Diffstat (limited to 'vos')
-rw-r--r--vos/source/socket.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vos/source/socket.cxx b/vos/source/socket.cxx
index a928b981b8ad..ec44f026f09f 100644
--- a/vos/source/socket.cxx
+++ b/vos/source/socket.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: socket.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: jbu $ $Date: 2001-03-14 16:39:07 $
+ * last change: $Author: jbu $ $Date: 2001-03-15 10:42:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1306,7 +1306,7 @@ OSocket::TResult OAcceptorSocket::acceptConnection(OStreamSocket& connection)
OSocket::TResult OAcceptorSocket::acceptConnection(OStreamSocket& connection,
OSocketAddr& sa)
{
- oslSocketAddr PeerAddr;
+ oslSocketAddr PeerAddr = 0;
oslSocket Socket = 0;
if (m_pRecvTimeout && ! isRecvReady(m_pRecvTimeout))