X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FTCP_echod.c;h=689049265861498279830c4fe0626f8ff22ac9c8;hp=f0eab95c2f7c5064b3bb8611eb684eef27629d35;hb=866f3cf8f2fe10ea9c7b5c4b10faf37fce74b1aa;hpb=5a12d423b85ac5decb966bc3c3a797b3ad9a7a3f diff --git a/sources/TCP_echod.c b/sources/TCP_echod.c index f0eab95..6890492 100644 --- a/sources/TCP_echod.c +++ b/sources/TCP_echod.c @@ -117,7 +117,6 @@ int main(int argc, char *argv[]) } /* create and bind socket */ if ( (list_fd = sockbind(NULL, "echo", 6, SOCK_STREAM)) < 0) { - if (errno) perror("Socket creation error"); return 1; } /* release privileges and go daemon */