MINOR: log: One const should be enough.

"const const" doesn't bring much more constness, so only use one.
This commit is contained in:
Olivier Houchard 2018-09-06 18:14:09 +02:00 committed by Willy Tarreau
parent 57f8185625
commit 54620523e2

View File

@ -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