about summary refs log tree commit diff stats
path: root/src/LYUtils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r--src/LYUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c
index 1378287d..0838c78c 100644
--- a/src/LYUtils.c
+++ b/src/LYUtils.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYUtils.c,v 1.299 2021/06/09 21:46:53 tom Exp $
+ * $LynxId: LYUtils.c,v 1.300 2021/10/24 16:25:12 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTTCP.h>
@@ -2969,7 +2969,7 @@ BOOLEAN inlocaldomain(void)
 	    if (ulen > strlen(LYLocalDomain) &&
 		!memcmp(LYLocalDomain,
 			me.ut_host + ulen - strlen(LYLocalDomain),
-			ulen)) {
+			strlen(LYLocalDomain))) {
 		result = TRUE;
 	    }
 #ifdef LINUX