projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Questa volta sono corretti
[gapil.git]
/
listati
/
TCP_echod_first.c
diff --git
a/listati/TCP_echod_first.c
b/listati/TCP_echod_first.c
index 81085a7b5f59f831291723a6561475e6aaf624f5..0da60a6eb584af77e7ef602a1427baa39e1a9d50 100644
(file)
--- a/
listati/TCP_echod_first.c
+++ b/
listati/TCP_echod_first.c
@@
-40,6
+40,7
@@
int main(int argc, char *argv[])
exit(1);
}
while (1) { /* handle echo to client */
+ len = sizeof(cli_add);
if ( (conn_fd = accept(list_fd, NULL, NULL)) < 0) {
PrintErr("accept error");
exit(1);