diff options
| author | David Lamparter <equinox@diac24.net> | 2020-03-24 19:37:58 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2020-03-24 19:43:18 +0100 | 
| commit | 46171e257c01c10bb0acf194d2b8d1f7edc03449 (patch) | |
| tree | 53c5b963826bd4790034bd18f595a0f7427fe4be /lib/log.h | |
| parent | 63efca0e95c727318485fe6d37141f79b1401a88 (diff) | |
lib: rewrite zlog_hexdump()
The old version was creating a multi-line log message, which we can't
properly handle right now.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/log.h')
| -rw-r--r-- | lib/log.h | 2 | 
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,7 @@ extern void zlog_backtrace_sigsafe(int priority, void *program_counter);  extern size_t quagga_timestamp(int timestamp_precision /* # subsecond digits */,  			       char *buf, size_t buflen); -extern void zlog_hexdump(const void *mem, unsigned int len); +extern void zlog_hexdump(const void *mem, size_t len);  extern const char *zlog_sanitize(char *buf, size_t bufsz, const void *in,  				 size_t inlen);  | 
