Fix problem with re-allocation of serverarray.

This commit is contained in:
Simon Kelley
2021-06-26 21:13:41 +01:00
parent c9efe8e5e1
commit 66b863c989
3 changed files with 9 additions and 6 deletions

View File

@@ -935,8 +935,7 @@ char *parse_server(char *arg, union mysockaddr *addr, union mysockaddr *source_a
static int domain_rev4(char *domain, struct in_addr addr, int msize)
{
in_addr_t a = ntohl(addr.s_addr);
char *p;
*domain = 0;
switch (msize)