mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
*** empty log message ***
This commit is contained in:
parent
034ae1780a
commit
0e9bab6397
@ -4,6 +4,7 @@
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "error_utils.h"
|
#include "error_utils.h"
|
||||||
|
#include "config_express.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -54,9 +55,11 @@ handle_socket_error(void) {
|
|||||||
case 10093:
|
case 10093:
|
||||||
return "WSAStartup() was not called";
|
return "WSAStartup() was not called";
|
||||||
default:
|
default:
|
||||||
char errcode[128];
|
if (express_cat.is_debug())
|
||||||
sprintf(errcode, "Unknown WSA error: %d", WSAGetLastError());
|
express_cat.debug()
|
||||||
return errcode;
|
<< "handle_socket_error - unknown error: " << WSAGetLastError()
|
||||||
|
<< endl;
|
||||||
|
return "Unknown WSA error";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -173,6 +176,10 @@ get_network_error(void) {
|
|||||||
case 11002:
|
case 11002:
|
||||||
return EU_error_network_remote_host_no_response;
|
return EU_error_network_remote_host_no_response;
|
||||||
default:
|
default:
|
||||||
|
if (express_cat.is_debug())
|
||||||
|
express_cat.debug()
|
||||||
|
<< "get_network_error() - unknown error: " << WSAGetLastError()
|
||||||
|
<< endl;
|
||||||
return EU_error_abort;
|
return EU_error_abort;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user