contrib/helper.c: remove redundant bind call
This commit is contained in:
parent
8a4b5b582c
commit
8044ed8fd6
1 changed files with 0 additions and 6 deletions
|
|
@ -69,12 +69,6 @@ int main(int argc, char **argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (bind(fd, (struct sockaddr *)&sa, sizeof(sa)) == -1) {
|
||||
perror("bind");
|
||||
close(fd);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (sendmsg(fd, &hdr, 0) == -1) {
|
||||
perror("sendmsg");
|
||||
close(fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue