diff options
author | Luca <deri@ntop.org> | 2020-09-13 09:48:29 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2020-09-13 09:48:29 +0200 |
commit | ad8318e247dff18086afd81a92e527f876a3c0cb (patch) | |
tree | 379bb6c0c98b7e950fdcb3a820ed6f6396b7d994 | |
parent | 91e3292e6bf043d79550c5c7c5babd2816e194a9 (diff) |
Commented unused function
-rw-r--r-- | src/lib/ndpi_serializer.c | 2 |
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 /* ********************************** */ |