mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-22 08:08:14 +00:00
Remove Win32-specific error codes
This commit is contained in:
1 parent
c7c929d751
commit
c553b14da6
2 files changed
+2
-2
No files matched your search
@@ -69,7 +69,7 @@ static void ReceiveThreadProc(void* context) {
|
||||
char* buffer = (char*) malloc(1500 + sizeof(int));
|
||||
if (buffer == NULL) {
|
||||
Limelog("Receive thread terminating\n");
|
||||
listenerCallbacks->connectionTerminated(ERROR_OUTOFMEMORY);
|
||||
listenerCallbacks->connectionTerminated(-1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ static void ReceiveThreadProc(void* context) {
|
||||
char* buffer = (char*) malloc(1500 + sizeof(int));
|
||||
if (buffer == NULL) {
|
||||
Limelog("Receive thread terminating\n");
|
||||
listenerCallbacks->connectionTerminated(ERROR_OUTOFMEMORY);
|
||||
listenerCallbacks->connectionTerminated(-1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user