aboutsummaryrefslogtreecommitdiff
path: root/nDPId.c
diff options
context:
space:
mode:
Diffstat (limited to 'nDPId.c')
-rw-r--r--nDPId.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nDPId.c b/nDPId.c
index 5ebb0fd3c..1ffbd217e 100644
--- a/nDPId.c
+++ b/nDPId.c
@@ -1672,7 +1672,7 @@ static int connect_to_json_socket(struct nDPId_reader_thread * const reader_thre
int opt = NETWORK_BUFFER_MAX_SIZE * 16;
if (setsockopt(reader_thread->json_sockfd, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)) < 0)
{
- /* Nop. */
+ return 1;
}
saddr.sun_family = AF_UNIX;