X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FTCP_echod_first.c;fp=sources%2FTCP_echod_first.c;h=31d0ded800ef17cb50ce76f02e6c16d9c5192415;hp=9cc1f8d38072e6035f09cbc7f85ba7d2c8813e76;hb=78ca776c24853e1ff5c458a91e6b07b0540e5026;hpb=8acb043bf7827e57d72b99e80b534c9e94f84633 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);