mirror of
https://repo.or.cz/socat.git
synced 2025-07-17 16:43:24 +00:00
Corrections for Ubuntu-24 with newer compilers
This commit is contained in:
parent
676888e8cc
commit
63f67101f4
5 changed files with 27 additions and 17 deletions
|
@ -10,9 +10,9 @@ struct socks4 {
|
|||
uint8_t action;
|
||||
uint16_t port;
|
||||
uint32_t dest;
|
||||
char userid[1]; /* just to have access via this struct */
|
||||
char userid[0]; /* just to have access via this struct */
|
||||
} ;
|
||||
#define SIZEOF_STRUCT_SOCKS4 8
|
||||
#define SIZEOF_STRUCT_SOCKS4 ((size_t)&((struct socks4 *)0)->userid)
|
||||
|
||||
extern const struct optdesc opt_socksport;
|
||||
extern const struct optdesc opt_socksuser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue