]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - lhnet.c
more cleaning of matrix4x4_t struct access
[xonotic/darkplaces.git] / lhnet.c
diff --git a/lhnet.c b/lhnet.c
index 67ccc9a727ac927746b6f0f88ebcbd8462327da3..4099ac6809e74a9690b91fd2fe268d687ecb3f2d 100644 (file)
--- a/lhnet.c
+++ b/lhnet.c
@@ -252,7 +252,7 @@ int LHNETADDRESS_ToString(const lhnetaddress_t *address, char *string, int strin
                {
                        if (stringbuffersize >= 6)
                        {
-                               strcpy(string, "local");
+                               memcpy(string, "local", 6);
                                return 1;
                        }
                }