summaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-28 23:12:38 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-28 23:12:38 +0000
commita5acabd9230eb70e802ece13542ec647c52b7ee2 (patch)
tree1b9cac80e3edf158c0a820cf027656f4c0f6ca06 /cfg.c
parente65aa04ad780b76c3356d281677bb7a71c89cda3 (diff)
Sync OpenBSD patchset 467:
tabs are better; ok nicm
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cfg.c b/cfg.c
index 16179ac8..a2076d3e 100644
--- a/cfg.c
+++ b/cfg.c
@@ -1,4 +1,4 @@
-/* $Id: cfg.c,v 1.22 2009-08-24 16:27:03 tcunha Exp $ */
+/* $Id: cfg.c,v 1.23 2009-10-28 23:12:38 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -53,9 +53,9 @@ cfg_error(unused struct cmd_ctx *ctx, const char *fmt, ...)
int
load_cfg(const char *path, struct cmd_ctx *ctxin, char **cause)
{
- FILE *f;
+ FILE *f;
u_int n;
- char *buf, *line, *ptr;
+ char *buf, *line, *ptr;
size_t len;
struct cmd_list *cmdlist;
struct cmd_ctx ctx;