Fix crash introduced in 2675f20615

This commit is contained in:
Simon Kelley
2016-08-30 23:07:06 +01:00
parent b5e33ae53a
commit 16800ea072

View File

@@ -1516,8 +1516,9 @@ void check_servers(void)
serv->flags |= SERV_MARK; serv->flags |= SERV_MARK;
continue; continue;
} }
serv->sfd->used = 1; if (serv->sfd)
serv->sfd->used = 1;
} }
if (!(serv->flags & SERV_NO_REBIND) && !(serv->flags & SERV_LITERAL_ADDRESS)) if (!(serv->flags & SERV_NO_REBIND) && !(serv->flags & SERV_LITERAL_ADDRESS))