Mercurial > hg > freeDiameter
changeset 1421:3ac2877628a5
Increase size of cc_id to silence gcc 8.3 warnings about snprintfs that don't fit.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Tue, 18 Feb 2020 12:31:35 +0100 |
parents | 689758fbb05d |
children | b1e8c5281d29 |
files | libfdcore/cnxctx.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libfdcore/cnxctx.h Tue Feb 18 11:39:01 2020 +0100 +++ b/libfdcore/cnxctx.h Tue Feb 18 12:31:35 2020 +0100 @@ -43,7 +43,7 @@ /* The connection context structure */ struct cnxctx { - char cc_id[60]; /* The name of this connection. the first 5 chars are reserved for flags display (cc_state). */ + char cc_id[100]; /* The name of this connection. the first 5 chars are reserved for flags display (cc_state). */ char cc_remid[60]; /* Id of remote peer */ int cc_socket; /* The socket object of the connection -- <=0 if no socket is created */