diff options
Diffstat (limited to 'announce.c')
-rw-r--r-- | announce.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -173,7 +173,7 @@ announce_init(struct cfg *cfg) if (afd < 0) perrordie("timerfd_create"); - sfd = socket(AF_INET, SOCK_DGRAM, 0); + sfd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0); if (sfd < 0) perrordie("socket"); |