aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_serializer.c
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2020-09-13 09:48:29 +0200
committerLuca <deri@ntop.org>2020-09-13 09:48:29 +0200
commitad8318e247dff18086afd81a92e527f876a3c0cb (patch)
tree379bb6c0c98b7e950fdcb3a820ed6f6396b7d994 /src/lib/ndpi_serializer.c
parent91e3292e6bf043d79550c5c7c5babd2816e194a9 (diff)
Commented unused function
Diffstat (limited to 'src/lib/ndpi_serializer.c')
-rw-r--r--src/lib/ndpi_serializer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ndpi_serializer.c b/src/lib/ndpi_serializer.c
index c1c40bc56..a5f14fbe4 100644
--- a/src/lib/ndpi_serializer.c
+++ b/src/lib/ndpi_serializer.c
@@ -130,6 +130,7 @@ static int ndpi_json_string_escape(const char *src, int src_len, char *dst, int
/* ********************************** */
+#if UNUSED
/*
* Similar to snprintf, this returns the number of bytes actually written
* in any case (unlike snprintf which returns, if the output is truncated,
@@ -151,6 +152,7 @@ static inline int ndpi_snappend(char *buf, size_t size, const char *fmt, ...) {
return wlen;
}
+#endif
/* ********************************** */