summaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 21:36:51 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 21:36:51 +0000
commit95cc21c25180d0f2e7b488983e3078834343d162 (patch)
tree5a934b9788ab33cd06d41c3216ab7524bf464766 /cfg.c
parent259dcbbc9326689ab7e982a73ebbeff947f7260f (diff)
Quick man page update, also fix some usages and get rid of some CMD_KEY checks.
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg.c b/cfg.c
index 540ca336..ecc8b741 100644
--- a/cfg.c
+++ b/cfg.c
@@ -1,4 +1,4 @@
-/* $Id: cfg.c,v 1.4 2008-06-02 21:08:36 nicm Exp $ */
+/* $Id: cfg.c,v 1.5 2008-06-02 21:36:51 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -153,7 +153,7 @@ load_cfg(const char *path, char **causep)
return (0);
error:
- while (--argc > 0)
+ while (--argc >= 0)
xfree(argv[argc]);
xfree(argv);