diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-12 18:24:37 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-12 18:24:37 +0000 |
commit | 67f641e75b685abe1588b634b409c1ee2ff68c22 (patch) | |
tree | 74b3e38f1b7caef23bbf06a92b6e5d05530d50a6 /networking/fakeidentd.c | |
parent | 2c99851181a652358aa3ca58ef38c57e46ae02e4 (diff) | |
download | busybox-w32-67f641e75b685abe1588b634b409c1ee2ff68c22.tar.gz busybox-w32-67f641e75b685abe1588b634b409c1ee2ff68c22.tar.bz2 busybox-w32-67f641e75b685abe1588b634b409c1ee2ff68c22.zip |
- patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()
Diffstat (limited to 'networking/fakeidentd.c')
-rw-r--r-- | networking/fakeidentd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c index 26efdcb34..cae6b8138 100644 --- a/networking/fakeidentd.c +++ b/networking/fakeidentd.c | |||
@@ -113,10 +113,10 @@ static void inetbind(void) | |||
113 | addr.sin_family = AF_INET; | 113 | addr.sin_family = AF_INET; |
114 | addr.sin_port = htons(port); | 114 | addr.sin_port = htons(port); |
115 | 115 | ||
116 | if (bind(s, (struct sockaddr *)&addr, len) < 0) | 116 | if (bind(s, (struct sockaddr *)&addr, len) < 0) /* bb_xbind? */ |
117 | bb_perror_msg_and_die("Cannot bind() port %i", IDENT_PORT); | 117 | bb_perror_msg_and_die("Cannot bind() port %i", IDENT_PORT); |
118 | 118 | ||
119 | if (listen(s, 5) < 0) | 119 | if (listen(s, 5) < 0) /* bb_xlisten? */ |
120 | bb_perror_msg_and_die("Cannot listen() on port %i", IDENT_PORT); | 120 | bb_perror_msg_and_die("Cannot listen() on port %i", IDENT_PORT); |
121 | 121 | ||
122 | movefd(s, 0); | 122 | movefd(s, 0); |