Skip to content

Commit

Permalink
Use native_handle() instead if native() (removed)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Dahlström <risca@powerlamerz.org>
  • Loading branch information
Risca committed Jan 10, 2021
1 parent 75f8830 commit cf23f65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plex/Network/NetworkServiceAdvertiser.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class NetworkServiceAdvertiser : public NetworkServiceBase
}
else
{
eprintf("Network Service: Error in advertiser handle read: %d (%s) socket=%d", error.value(), error.message().c_str(), socket->native());
eprintf("Network Service: Error in advertiser handle read: %d (%s) socket=%d", error.value(), error.message().c_str(), socket->native_handle());
usleep(1000 * 100);
}

Expand Down
2 changes: 1 addition & 1 deletion plex/Network/NetworkServiceBrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class NetworkServiceBrowser : public NetworkServiceBase
}
else
{
eprintf("Network Service: Error in browser handle read: %d (%s) socket=%d", error.value(), error.message().c_str(), socket->native());
eprintf("Network Service: Error in browser handle read: %d (%s) socket=%d", error.value(), error.message().c_str(), socket->native_handle());
usleep(1000 * 100);
}

Expand Down

0 comments on commit cf23f65

Please sign in to comment.