summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-12-16 00:20:47 +0300
committerAndrey Nazarov <skuller@skuller.net>2010-12-16 00:20:47 +0300
commit6731a603982cd6ca1fa0362c98be1e25f6b78bd6 (patch)
tree9011ebac9e398f9ee3a4db15d4928a1925ddfd31 /src
parentafcd9b394e433012ddfc97e88b3acd3c53ce3750 (diff)
Fix compilation error without USE_ICMP.
Diffstat (limited to 'src')
-rw-r--r--src/net_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net_common.c b/src/net_common.c
index 8ade312..82ea687 100644
--- a/src/net_common.c
+++ b/src/net_common.c
@@ -671,8 +671,8 @@ retry:
goto retry;
}
}
-#endif
net_error = saved_error;
+#endif
Com_DPrintf( "%s: %s from %s\n", __func__,
NET_ErrorString(), NET_AdrToString( &net_from ) );
net_recv_errors++;
@@ -831,8 +831,8 @@ retry:
goto retry;
}
}
-#endif
net_error = saved_error;
+#endif
Com_DPrintf( "%s: %s to %s\n", __func__,
NET_ErrorString(), NET_AdrToString( to ) );
net_send_errors++;