about summary refs log tree commit diff stats
path: root/src/LYMainLoop.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2009-02-01 20:28:51 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2009-02-01 20:28:51 -0500
commit04d0ee253833c9a0f9039f3bbd2b90799e9e8d48 (patch)
tree2e89c19ed6e09bd4f55deefd9ad02a7df851ff21 /src/LYMainLoop.c
parent32b6b1ad98ff34d90910fa87e2987b18de5e8990 (diff)
downloadlynx-snapshots-04d0ee253833c9a0f9039f3bbd2b90799e9e8d48.tar.gz
snapshot of project "lynx", label v2-8-7dev_12g
Diffstat (limited to 'src/LYMainLoop.c')
-rw-r--r--src/LYMainLoop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LYMainLoop.c b/src/LYMainLoop.c
index 542b127d..b8a0fa98 100644
--- a/src/LYMainLoop.c
+++ b/src/LYMainLoop.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYMainLoop.c,v 1.159 2009/01/01 17:49:53 tom Exp $
+ * $LynxId: LYMainLoop.c,v 1.160 2009/02/01 12:51:11 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTAccess.h>
@@ -1708,8 +1708,8 @@ static int handle_LYK_COMMAND(char *user_input_buffer)
 	src = LYSkipBlanks(user_input_buffer);
 	tmp = LYSkipNonBlanks(src);
 	*tmp = 0;
-	ch = ((mp = LYStringToKcmd(src)) != 0) ? mp->code : 0;
-	CTRACE((tfp, "LYK_COMMAND(%s.%s) = %d\n", src, tmp, ch));
+	ch = ((mp = LYStringToKcmd(src)) != 0) ? mp->code : LYK_UNKNOWN;
+	CTRACE((tfp, "LYK_COMMAND(%s.%s) = %d\n", src, tmp, (int) ch));
 	if (ch == 0) {
 	    return *src ? -1 : 0;
 	}