From 216d7e8fee2b3e8606b3bbc8862d16d02d41eb34 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 2 Jun 2007 01:54:49 +0000 Subject: [PATCH] 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 --- lhnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2