From be72d17dc2f7d910400ef58a34fba27bb5edfe3b Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 14 Nov 2023 11:33:22 +0100 Subject: [PATCH] udp_set_buf: print set value anyways It is better to display the value unconditionally (in verbose), because even the positive feedback, that set correctly, may be useful. --- src/rtp/net_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtp/net_udp.c b/src/rtp/net_udp.c index b17c6547c..e002b8b9b 100644 --- a/src/rtp/net_udp.c +++ b/src/rtp/net_udp.c @@ -1466,7 +1466,7 @@ udp_set_buf(socket_udp *s, int sockopt, int size) } const bool ret = opt >= size; - log_msg(ret ? LOG_LEVEL_DEBUG : LOG_LEVEL_VERBOSE, + log_msg(LOG_LEVEL_VERBOSE, "Socket %s buffer size set to %d B%srequested %d B%s\n", sockopt == SO_RCVBUF ? "recv" : "send", opt, ret ? " (" : ", ", size, ret ? ")" : "!");