projects
/
my-code
/
ivac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa6a332
)
added close to listen_fd
author
hackbard
<hackbard>
Sat, 19 Oct 2002 01:06:00 +0000
(
01:06
+0000)
committer
hackbard
<hackbard>
Sat, 19 Oct 2002 01:06:00 +0000
(
01:06
+0000)
stream.c
patch
|
blob
|
history
diff --git
a/stream.c
b/stream.c
index
834bf47
..
1a150e1
100644
(file)
--- a/
stream.c
+++ b/
stream.c
@@
-74,6
+74,7
@@
int main(int argc, char *argv[]) {
}
close(send_fd);
+ close(listen_fd);
printf("connection closed ...\n");
printf("%d from %d total bytes sent.\n",send_bytes,read_bytes);
}