From: Olivier Houchard Date: Thu, 6 Sep 2018 16:14:09 +0000 (+0200) Subject: MINOR: log: One const should be enough. X-Git-Tag: v1.9-dev2~75 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54620523e2a75b961da9c6ce70fd91fcb7788856;p=thirdparty%2Fhaproxy.git MINOR: log: One const should be enough. "const const" doesn't bring much more constness, so only use one. --- diff --git a/include/proto/log.h b/include/proto/log.h index 7fb1f04df8..b994470dd2 100644 --- a/include/proto/log.h +++ b/include/proto/log.h @@ -151,7 +151,7 @@ int get_log_facility(const char *fac); * * Return the adress of the \0 character, or NULL on error */ -char *lf_text_len(char *dst, const const char *src, size_t len, size_t size, const struct logformat_node *node); +char *lf_text_len(char *dst, const char *src, size_t len, size_t size, const struct logformat_node *node); /* * Write a IP adress to the log string