Browse Source

Prevented net send errors from triggering an entire host error

pull/2/head
Jonathan Poncelet 6 years ago
parent
commit
60a1c4f0cc
  1. 4
      engine/common/net_ws.c

4
engine/common/net_ws.c

@ -1412,7 +1412,7 @@ void NET_SendPacketEx( netsrc_t sock, size_t length, const void *data, netadr_t @@ -1412,7 +1412,7 @@ void NET_SendPacketEx( netsrc_t sock, size_t length, const void *data, netadr_t
}
else
{
Host_Error( "NET_SendPacket: %s to %s\n", NET_ErrorString(), NET_AdrToString( to ));
Con_Printf( S_ERROR "NET_SendPacket: %s to %s\n", NET_ErrorString(), NET_AdrToString( to ));
}
}
@ -2701,4 +2701,4 @@ void HTTP_Shutdown( void ) @@ -2701,4 +2701,4 @@ void HTTP_Shutdown( void )
}
http.last_server = 0;
}
}
Loading…
Cancel
Save