peeraddr is only used in sizeof() evaluations, so instead of declaring it
a variable, use typedef. MFC after: 1 month
This commit is contained in:
parent
8dc79f22fa
commit
7c9acc776a
@ -77,7 +77,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define MAXLINE 200
|
||||
#define TIMEOUT 5 /* secs between rexmt's */
|
||||
|
||||
static struct sockaddr_storage peeraddr;
|
||||
typedef struct sockaddr_storage peeraddr;
|
||||
static int connected;
|
||||
static char mode[32];
|
||||
jmp_buf toplevel;
|
||||
|
Loading…
Reference in New Issue
Block a user