projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Altre correzioni alle funzioni, con riscrittura di ip_ntop per usare switch,
[gapil.git]
/
sources
/
TCP_echod.c
diff --git
a/sources/TCP_echod.c
b/sources/TCP_echod.c
index f0eab95c2f7c5064b3bb8611eb684eef27629d35..689049265861498279830c4fe0626f8ff22ac9c8 100644
(file)
--- 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 */