Files
miniupnpd/patches/21541fc.patch
2026-01-17 12:17:40 +08:00

26 lines
909 B
Diff

From 21541fc2e6b6bbc3c0e2a9e2c3e4393495d0b4cf Mon Sep 17 00:00:00 2001
From: QiuSimons <45143996+QiuSimons@users.noreply.github.com>
Date: Thu, 19 Oct 2023 10:50:50 +0800
Subject: [PATCH] Update asyncsendto.c
---
miniupnpd/asyncsendto.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/asyncsendto.c b/asyncsendto.c
index b76d0db56..25ad28ec7 100644
--- a/asyncsendto.c
+++ b/asyncsendto.c
@@ -254,9 +254,9 @@ int try_sendto(fd_set * writefds)
/* uncatched error */
if(sockaddr_to_string(elt->dest_addr, addr_str, sizeof(addr_str)) <= 0)
addr_str[0] = '\0';
- syslog(LOG_ERR, "%s(sock=%d, len=%u, dest=%s): sendto: %m",
+ /* syslog(LOG_ERR, "%s(sock=%d, len=%u, dest=%s): sendto: %m",
"try_sendto", elt->sockfd, (unsigned)elt->len,
- addr_str);
+ addr_str); */
ret--;
}
} else if((int)n != (int)elt->len) {