Skip to content

Commit bd61635

Browse files
committed
Use native_handle() instead if native() (removed)
Signed-off-by: Patrik Dahlström <risca@powerlamerz.org>
1 parent 9155d33 commit bd61635

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plex/Network/NetworkServiceAdvertiser.h

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

plex/Network/NetworkServiceBrowser.h

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

0 commit comments

Comments
 (0)