Skip to content

Commit

Permalink
Fixed return values
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrockwell2 committed Sep 11, 2024
1 parent 9f6967e commit 1b82580
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ int Trick::VariableServerListenThread::check_and_move_listen_device() {
if (ret != 0) {
message_publish(MSG_ERROR, "ERROR: Could not establish variable server source_address %s: port %d. Aborting.\n",
_requested_source_address.c_str(), _requested_port);

ret = -1;
}

_requested_port = _listener->getPort();
Expand Down

0 comments on commit 1b82580

Please sign in to comment.