Skip to content

Commit cf23f65

Browse files
committed
Use native_handle() instead if native() (removed)
Signed-off-by: Patrik Dahlström <[email protected]>
1 parent 75f8830 commit cf23f65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plex/Network/NetworkServiceAdvertiser.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class NetworkServiceAdvertiser : public NetworkServiceBase
192192
}
193193
else
194194
{
195-
eprintf("Network Service: Error in advertiser handle read: %d (%s) socket=%d", error.value(), error.message().c_str(), socket->native());
195+
eprintf("Network Service: Error in advertiser handle read: %d (%s) socket=%d", error.value(), error.message().c_str(), socket->native_handle());
196196
usleep(1000 * 100);
197197
}
198198

plex/Network/NetworkServiceBrowser.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ class NetworkServiceBrowser : public NetworkServiceBase
278278
}
279279
else
280280
{
281-
eprintf("Network Service: Error in browser handle read: %d (%s) socket=%d", error.value(), error.message().c_str(), socket->native());
281+
eprintf("Network Service: Error in browser handle read: %d (%s) socket=%d", error.value(), error.message().c_str(), socket->native_handle());
282282
usleep(1000 * 100);
283283
}
284284

0 commit comments

Comments
 (0)