aboutsummaryrefslogtreecommitdiff
path: root/nDPIsrvd.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-09-14 18:30:45 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-09-14 18:38:37 +0200
commitaa89800ff996cec0305b1dde31e2dfb0a89c9bbc (patch)
tree6f97ff63bb928e8eefcbe9473679cc156db08b51 /nDPIsrvd.c
parentea0b04d6482a686e967f8372af606115a3b191a9 (diff)
fixed Warnings / build error / cosmetics
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'nDPIsrvd.c')
-rw-r--r--nDPIsrvd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nDPIsrvd.c b/nDPIsrvd.c
index a63a410f1..6231b2124 100644
--- a/nDPIsrvd.c
+++ b/nDPIsrvd.c
@@ -805,7 +805,9 @@ static int handle_incoming_data(int epollfd, struct remote_desc * const current)
{
if (utarray_len(remotes.desc[i].buf_cache) == 0)
{
+#if 0
syslog(LOG_DAEMON, "Buffer capacity threshold (%zu bytes) reached, caching JSON strings.", remotes.desc[i].buf.used);
+#endif
errno = 0;
if (add_out_event(epollfd, remotes.desc[i].fd, &remotes.desc[i]) != 0)
{