From 724e2f84be7d2e9297c3993a9d4b5de38b544ba6 Mon Sep 17 00:00:00 2001 From: hniksic Date: Sat, 21 May 2005 06:36:43 -0700 Subject: [PATCH] [svn] Report exact command name alongside the "display name". --- src/ChangeLog | 5 +++++ src/init.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d4a30682..e4e83e5c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-05-21 Hrvoje Niksic + + * init.c (setval_internal): Report exact command name alongside + the "display name". + 2005-05-18 Hrvoje Niksic * cookies.c (update_cookie_field): Explicitly cast -1 to time_t to diff --git a/src/init.c b/src/init.c index 987b0d59..8ea9d19e 100644 --- a/src/init.c +++ b/src/init.c @@ -612,7 +612,7 @@ static int setval_internal (int comind, const char *com, const char *val) { assert (0 <= comind && comind < countof (commands)); - DEBUGP (("Setting %s (%d) to %s\n", com, comind, val)); + DEBUGP (("Setting %s (%s) to %s\n", com, commands[comind].name, val)); return ((*commands[comind].action) (com, val, commands[comind].place)); }