]> sjero.net Git - wget/blobdiff - src/init.c
[svn] Report exact command name alongside the "display name".
[wget] / src / init.c
index 987b0d5922423f9b4bc4e9bbef95617a1887091b..8ea9d19e48b2061fb633a3f78ff2abfcf05bb1f5 100644 (file)
@@ -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));
 }