commit | acd7d63ff9a566193d1f0eb6a3cea854ba265751 | [log] [tgz] |
---|---|---|
author | Cyril Bonté <cyril.bonte@free.fr> | Mon Nov 01 19:26:02 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 11 09:26:28 2010 +0100 |
tree | 3d080301d257a779b6640488dbedbcecea419d09 | |
parent | b40dc94a9a4717ae09f2ae66f150b491c4a2de02 [diff] [blame] |
[CLEANUP] Remove unneeded chars allocation Some arrays used to log addresses add some more bytes for ports but this space is never used.
diff --git a/src/log.c b/src/log.c index 9e26967..d1387b5 100644 --- a/src/log.c +++ b/src/log.c
@@ -318,7 +318,7 @@ */ void tcp_sess_log(struct session *s) { - char pn[INET6_ADDRSTRLEN + strlen(":65535")]; + char pn[INET6_ADDRSTRLEN]; struct proxy *fe = s->fe; struct proxy *be = s->be; struct proxy *prx_log;