]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
correct two warnings to say the correct function name (LHNET_Write
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 2 Jun 2007 01:54:49 +0000 (01:54 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 2 Jun 2007 01:54:49 +0000 (01:54 +0000)
warnings were saying LHNET_Read)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7386 d7cf8633-e32d-0410-b094-e92efae38249

lhnet.c

diff --git a/lhnet.c b/lhnet.c
index bc6f53c54980d92d165a60a3358e56a230a4379b..b97be361e24cb6a4629ab478fe4bd814c45def4f 100644 (file)
--- 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;