mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +00:00
Remove Win32-specific error codes
This commit is contained in:
parent
c7c929d751
commit
c553b14da6
@ -69,7 +69,7 @@ static void ReceiveThreadProc(void* context) {
|
|||||||
char* buffer = (char*) malloc(1500 + sizeof(int));
|
char* buffer = (char*) malloc(1500 + sizeof(int));
|
||||||
if (buffer == NULL) {
|
if (buffer == NULL) {
|
||||||
Limelog("Receive thread terminating\n");
|
Limelog("Receive thread terminating\n");
|
||||||
listenerCallbacks->connectionTerminated(ERROR_OUTOFMEMORY);
|
listenerCallbacks->connectionTerminated(-1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ static void ReceiveThreadProc(void* context) {
|
|||||||
char* buffer = (char*) malloc(1500 + sizeof(int));
|
char* buffer = (char*) malloc(1500 + sizeof(int));
|
||||||
if (buffer == NULL) {
|
if (buffer == NULL) {
|
||||||
Limelog("Receive thread terminating\n");
|
Limelog("Receive thread terminating\n");
|
||||||
listenerCallbacks->connectionTerminated(ERROR_OUTOFMEMORY);
|
listenerCallbacks->connectionTerminated(-1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user