Skip to content

Commit

Permalink
ifdef IPV6 specific buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed Oct 6, 2019
1 parent fcfce89 commit 1f5cd8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mod/server.mod/cmdsserv.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ static void cmd_servers(struct userrec *u, int idx, char *par)
time_t t;
struct tm *currtm;
int i, len = 0;
char buf[16];
#ifdef IPV6
char buf[sizeof(struct in6_addr)];
#endif
char s[1024];
char setpass[11];

Expand Down

0 comments on commit 1f5cd8e

Please sign in to comment.