Mercurial > hg > freeDiameter
comparison libfdcore/cnxctx.h @ 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 | 407e0a889c7e |
comparison
equal
deleted
inserted
replaced
1420:689758fbb05d | 1421:3ac2877628a5 |
---|---|
41 /* Maximum time we allow a connection to be blocked because of head-of-the-line buffers. After this delay, connection is considered in error. */ | 41 /* Maximum time we allow a connection to be blocked because of head-of-the-line buffers. After this delay, connection is considered in error. */ |
42 #define MAX_HOTL_BLOCKING_TIME 1000 /* ms */ | 42 #define MAX_HOTL_BLOCKING_TIME 1000 /* ms */ |
43 | 43 |
44 /* The connection context structure */ | 44 /* The connection context structure */ |
45 struct cnxctx { | 45 struct cnxctx { |
46 char cc_id[60]; /* The name of this connection. the first 5 chars are reserved for flags display (cc_state). */ | 46 char cc_id[100]; /* The name of this connection. the first 5 chars are reserved for flags display (cc_state). */ |
47 char cc_remid[60]; /* Id of remote peer */ | 47 char cc_remid[60]; /* Id of remote peer */ |
48 | 48 |
49 int cc_socket; /* The socket object of the connection -- <=0 if no socket is created */ | 49 int cc_socket; /* The socket object of the connection -- <=0 if no socket is created */ |
50 | 50 |
51 int cc_family; /* AF_INET or AF_INET6 (mixed) */ | 51 int cc_family; /* AF_INET or AF_INET6 (mixed) */ |