summaryrefslogtreecommitdiff
path: root/src/net/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/network.cpp')
-rw-r--r--src/net/network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/network.cpp b/src/net/network.cpp
index 8f34787b..0cb41750 100644
--- a/src/net/network.cpp
+++ b/src/net/network.cpp
@@ -150,7 +150,7 @@ void flush() {
if(ret==SOCKET_ERROR) {
error("Socket Error");
#ifdef WIN32
- log_int("Error", "socket_error", WSAGetLastError());
+ log("Error", "Socket error: %i ", WSAGetLastError());
#else
log("Error", "socket_error", "Undefined socket error");
#endif
@@ -164,7 +164,7 @@ void flush() {
ret = recv(sock, in+in_size, RFIFOSPACE, 0);
if(ret==SOCKET_ERROR) {
#ifdef WIN32
- log_int("Error", "socket_error", WSAGetLastError());
+ log("Error", "Socket error: %i ", WSAGetLastError());
#else
log("Error", "socket_error", "Undefined socket error");
#endif