Remove Win32-specific error codes

This commit is contained in:
Cameron Gutman 2014-03-29 15:44:43 -04:00
parent c7c929d751
commit c553b14da6
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}