mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 07:40:24 +00:00
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.
This commit is contained in:
@@ -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 ? ")" : "!");
|
||||
|
||||
Reference in New Issue
Block a user