From: havoc Date: Sat, 2 Jun 2007 01:54:49 +0000 (+0000) Subject: correct two warnings to say the correct function name (LHNET_Write X-Git-Tag: xonotic-v0.1.0preview~3074 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=216d7e8fee2b3e8606b3bbc8862d16d02d41eb34;p=xonotic%2Fdarkplaces.git correct two warnings to say the correct function name (LHNET_Write warnings were saying LHNET_Read) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7386 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/lhnet.c b/lhnet.c index bc6f53c5..b97be361 100644 --- a/lhnet.c +++ b/lhnet.c @@ -782,7 +782,7 @@ int LHNET_Write(lhnetsocket_t *lhnetsocket, const void *content, int contentleng { if (SOCKETERRNO == EWOULDBLOCK) return 0; - Con_Printf("LHNET_Read: sendto returned error: %s\n", LHNETPRIVATE_StrError()); + Con_Printf("LHNET_Write: sendto returned error: %s\n", LHNETPRIVATE_StrError()); } } else if (lhnetsocket->address.addresstype == LHNETADDRESSTYPE_INET6) @@ -792,7 +792,7 @@ int LHNET_Write(lhnetsocket_t *lhnetsocket, const void *content, int contentleng { if (SOCKETERRNO == EWOULDBLOCK) return 0; - Con_Printf("LHNET_Read: sendto returned error: %s\n", LHNETPRIVATE_StrError()); + Con_Printf("LHNET_Write: sendto returned error: %s\n", LHNETPRIVATE_StrError()); } } return value;