Fix a couple uninitialized variable warnings in the release build.

Reviewed-by: Eliseo Martínez <eliseomarmol@gmail.com>
Reviewed-by: Marco Hinz <mh.codebro@gmail.com>
Reviewed-by: Björn Linse <bjorn.linse@gmail.com>
This commit is contained in:
John Szakmeister
2015-04-17 09:51:54 -04:00
parent c1a3d289d6
commit 2cbe7005c2
2 changed files with 2 additions and 2 deletions

View File

@@ -238,7 +238,7 @@ void server_stop(char *endpoint)
}
}
if (i == servers.ga_len) {
if (i >= servers.ga_len) {
ELOG("Not listening on %s", addr);
return;
}