diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-09-19 00:44:40 -0400 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-09-19 00:44:40 -0400 |
commit | c36846a96fd45e57f37ce73e49af8275a305d4b4 (patch) | |
tree | 90cb8a81f396d37a87ef45ed045c80531336ae88 /listener.c | |
parent | 7db333857219362ba14dec132825debc0d940a6c (diff) |
fix file descriptor leak
Diffstat (limited to 'listener.c')
-rw-r--r-- | listener.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -102,7 +102,6 @@ int main(int argc, char *argv[]) //printf("listener: packet contains \"%s\"\n", buf); // print the size - write(STDOUT_FILENO, buf, numbytes); memset(buf, 0, MAXBUFLEN); |