Fixed use of previous writeline format in #if __APPLE__ segment
This commit is contained in:
@@ -38,7 +38,7 @@ namespace XPC
|
|||||||
#elif (__APPLE__ || __linux)
|
#elif (__APPLE__ || __linux)
|
||||||
if ((this->sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
|
if ((this->sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
|
||||||
{
|
{
|
||||||
Log::WriteLine("[SOCK] ERROR: Failed to open socket");
|
Log::WriteLine(LOG_FATAL, tag, "ERROR: Failed to open socket");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int optval = 1;
|
int optval = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user