Skip to content

Commit

Permalink
node: fix whitespace in inetd.c
Browse files Browse the repository at this point in the history
  • Loading branch information
steveschnepp committed Apr 11, 2013
1 parent d2e10db commit 15aabbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node/inetd.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ int main(int argc, char *argv[]) {
"[argv0 argv1 ...]\n", argv[0]);
return 1;
}

memset(&server, 0, sizeof(server));
server.sin_family = AF_INET;
assert(argv[1] != NULL);
Expand All @@ -56,7 +56,7 @@ int main(int argc, char *argv[]) {
return 1;
}
if(setsockopt(sock_listen, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes))
== -1) {
== -1) {
perror("failed to set SO_REUSEADDR on socket");
}
if(bind(sock_listen, (struct sockaddr*)&server, sizeof(server)) < 0) {
Expand Down

0 comments on commit 15aabbb

Please sign in to comment.