summaryrefslogtreecommitdiffstats
path: root/apps/s_socket.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-11-06 20:10:44 +0000
committerNils Larsch <nils@openssl.org>2006-11-06 20:10:44 +0000
commit224328e4042a451907509f56b5e249fcd17789e6 (patch)
tree166a19fa503f5cee3913ca4463bc8c12b50e22d8 /apps/s_socket.c
parent1611b9ed80e4bd7edaeac59c7fe4a12c91196ceb (diff)
fix warning
Diffstat (limited to 'apps/s_socket.c')
-rw-r--r--apps/s_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c
index 37e6cdc555..b5f9db3062 100644
--- a/apps/s_socket.c
+++ b/apps/s_socket.c
@@ -283,7 +283,7 @@ int do_server(int port, int type, int *ret, int (*cb)(char *hostname, int s, uns
{
int sock;
char *name = NULL;
- int accept_socket;
+ int accept_socket = 0;
int i;
if (!init_server(&accept_socket,port,type)) return(0);