summaryrefslogtreecommitdiff
path: root/nDPId.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-11-02 09:26:23 +0100
committerToni Uhlig <matzeton@googlemail.com>2021-11-02 09:26:23 +0100
commitd93c33aa7447e72f249496d82b2d64fb3e7bb7bd (patch)
treeca098ffc1bdb0239214d12490495d4b7acd0efed /nDPId.c
parent8ecd1b48eff8b12131dad82c260ce419591acb85 (diff)
Additional semantic validation tests.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
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;