summaryrefslogtreecommitdiff
path: root/main/network.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-10 21:30:36 +0000
committerMarcus Boerger <helly@php.net>2003-08-10 21:30:36 +0000
commit3466a48add6ceead04d077bd6db06d059e8c4a6e (patch)
treee53a4cdc882991fb28835b3defc6d24cd5d2f8f2 /main/network.c
parent69252c3c77b305ac9020d07bdcd65ead0d1f796f (diff)
downloadphp-git-3466a48add6ceead04d077bd6db06d059e8c4a6e.tar.gz
Initialize this variable to 0 as suggested by sara
Diffstat (limited to 'main/network.c')
-rw-r--r--main/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/network.c b/main/network.c
index 768960fffd..211107bad3 100644
--- a/main/network.c
+++ b/main/network.c
@@ -606,7 +606,7 @@ PHPAPI php_socket_t php_network_accept_incoming(php_socket_t srvsock,
{
php_socket_t clisock = -1;
fd_set rset;
- int error, n;
+ int error = 0, n;
php_sockaddr_storage sa;
socklen_t sl;