Skip to content

Commit

Permalink
Merge PR #3151: ServerHandler: add missing return for hostname lookup…
Browse files Browse the repository at this point in the history
… failure case.
  • Loading branch information
mkrautz committed Jul 6, 2017
2 parents 8275f77 + 7f8b2d3 commit 3fcd786
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mumble/ServerHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ void ServerHandler::hostnameResolved() {
// error code in case our hostname lookup failed.
if (records.isEmpty()) {
exit(-1);
return;
}

// Create the list of target host:port pairs
Expand Down

0 comments on commit 3fcd786

Please sign in to comment.