X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=lhnet.c;h=d043f81cf7cb9e69d3e1610a9ef6fcce6829567a;hp=21087857a3b1fc56bbc2bcf0dece868ec09f2e19;hb=fe6c374412a5d42d5cd84945d8101c4a398e96d5;hpb=f5f66087e671a5f7f2ca91db5f8a2b920d5f1926 diff --git a/lhnet.c b/lhnet.c index 21087857..d043f81c 100644 --- a/lhnet.c +++ b/lhnet.c @@ -17,7 +17,7 @@ #endif #ifndef STANDALONETEST -#include "quakedef.h" +#include "darkplaces.h" #endif #include @@ -969,9 +969,9 @@ lhnetsocket_t *LHNET_OpenSocket_Connectionless(lhnetaddress_t *address) int rfc1149only = 0; int rfc1149enabled = 0; if(setsockopt(lhnetsocket->inetsocket, SOL_RFC1149, RFC1149_1149ONLY, &rfc1149only)) - Con_Errorf("LHNET_OpenSocket_Connectionless: warning: setsockopt(RFC1149_1149ONLY) returned error: %s\n", LHNETPRIVATE_StrError()); + Con_Printf(CON_ERROR "LHNET_OpenSocket_Connectionless: warning: setsockopt(RFC1149_1149ONLY) returned error: %s\n", LHNETPRIVATE_StrError()); if(setsockopt(lhnetsocket->inetsocket, SOL_RFC1149, RFC1149_ENABLED, &rfc1149enabled)) - Con_Errorf("LHNET_OpenSocket_Connectionless: warning: setsockopt(RFC1149_ENABLED) returned error: %s\n", LHNETPRIVATE_StrError()); + Con_Printf(CON_ERROR "LHNET_OpenSocket_Connectionless: warning: setsockopt(RFC1149_ENABLED) returned error: %s\n", LHNETPRIVATE_StrError()); } #endif