From: Simone Piccardi Date: Thu, 19 Jun 2003 13:29:03 +0000 (+0000) Subject: inizializzata bene la variabile di attesa X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=commitdiff_plain;h=1819cf252941f57e22a4836315c1399626d04bd5;p=gapil.git inizializzata bene la variabile di attesa --- diff --git a/sources/TCP_echod.c b/sources/TCP_echod.c index 35de97c..d75fd1f 100644 --- a/sources/TCP_echod.c +++ b/sources/TCP_echod.c @@ -26,7 +26,7 @@ * * Usage: echod -h give all info * - * $Id: TCP_echod.c,v 1.5 2003/06/19 11:43:13 piccardi Exp $ + * $Id: TCP_echod.c,v 1.6 2003/06/19 13:29:03 piccardi Exp $ * ****************************************************************/ /* @@ -58,7 +58,7 @@ int main(int argc, char *argv[]) * Variables definition */ int list_fd, conn_fd; - int waiting; + int waiting = 0; pid_t pid; struct sockaddr_in serv_add, cli_add; socklen_t len;