From 49d15acc76685c84910662672a9bee2abdecb348 Mon Sep 17 00:00:00 2001 From: Kevin Allen Date: Thu, 20 May 2021 15:38:14 -0400 Subject: [PATCH] Add more detail to setsockopt logs --- src/source/Ice/Network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/source/Ice/Network.c b/src/source/Ice/Network.c index c3d544290e..b5ec9b8722 100644 --- a/src/source/Ice/Network.c +++ b/src/source/Ice/Network.c @@ -166,11 +166,11 @@ STATUS createSocket(KVS_IP_FAMILY_TYPE familyType, KVS_SOCKET_PROTOCOL protocol, optionValue = 1; if (setsockopt(sockfd, SOL_SOCKET, NO_SIGNAL, &optionValue, SIZEOF(optionValue)) < 0) { - DLOGD("setsockopt() failed with errno %s", getErrorString(getErrorCode())); + DLOGD("setsockopt() NO_SIGNAL failed with errno %s", getErrorString(getErrorCode())); } if (sendBufSize > 0 && setsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, &sendBufSize, SIZEOF(sendBufSize)) < 0) { - DLOGW("setsockopt() failed with errno %s", getErrorString(getErrorCode())); + DLOGW("setsockopt() SO_SNDBUF failed with errno %s", getErrorString(getErrorCode())); CHK(FALSE, STATUS_SOCKET_SET_SEND_BUFFER_SIZE_FAILED); }