contrib/helper.c: remove redundant bind call

This commit is contained in:
illiliti
2021-08-29 04:59:31 +03:00
parent 8a4b5b582c
commit 8044ed8fd6

View File

@@ -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);