aboutsummaryrefslogtreecommitdiff
path: root/cfg.c
diff options
context:
space:
mode:
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);