Fix connection failure debug output
authorJoerie de Gram <j.de.gram@gmail.com>
Tue, 28 Jun 2011 20:16:12 +0000 (22:16 +0200)
committerJoerie de Gram <j.de.gram@gmail.com>
Tue, 28 Jun 2011 20:34:52 +0000 (22:34 +0200)
src/net.cpp

index 4b13726..8924ac2 100644 (file)
@@ -159,7 +159,7 @@ bool ConnectSocket(const CAddress& addrConnect, SOCKET& hSocketRet, int nTimeout
         else
 #endif
         {
-            printf("connect() failed: %s\n",WSAGetLastError());
+            printf("connect() failed: %i\n",WSAGetLastError());
             closesocket(hSocket);
             return false;
         }