Permalink
Browse files

Remove spurious extra argument to `bind()`.

  • Loading branch information...
1 parent 3f4faff commit 50a45a817bb04ccbbba9b878ea984be41b37a225 @jonm committed Oct 3, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/comm.c
View
@@ -744,7 +744,7 @@ int init_socket(int port)
assert(0);
}
- if (bind(s, &sa, sizeof(sa), 0) < 0) {
+ if (bind(s, &sa, sizeof(sa)) < 0) {
perror("bind");
exit(0);
}

0 comments on commit 50a45a8

Please sign in to comment.