X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FTCP_echod_first.c;h=31d0ded800ef17cb50ce76f02e6c16d9c5192415;hp=9cc1f8d38072e6035f09cbc7f85ba7d2c8813e76;hb=fa15a3f1ecd64efd8440e46d398fd9976abc3d25;hpb=d451ac30382ae398b9a2242a4f82b3438affc8a7 diff --git a/sources/TCP_echod_first.c b/sources/TCP_echod_first.c index 9cc1f8d..31d0ded 100644 --- a/sources/TCP_echod_first.c +++ b/sources/TCP_echod_first.c @@ -139,7 +139,6 @@ int main(int argc, char *argv[]) /* handle echo to client */ while (1) { /* accept connection */ - len = sizeof(cli_add); if ( (conn_fd = accept(list_fd, NULL, NULL)) < 0) { PrintErr("accept error"); exit(1);