diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 15:24:26 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:47:28 +0200 |
commit | e6ac4b28cdb1eb7587a60c4e93e386a750c879c0 (patch) | |
tree | 0c98224bfd9ade537451fb1c942dd2eefed542d3 | |
parent | 32c7caf7103ac702cc56c126104144ece0f451e2 (diff) | |
download | tinyproxy-e6ac4b28cdb1eb7587a60c4e93e386a750c879c0.tar.gz tinyproxy-e6ac4b28cdb1eb7587a60c4e93e386a750c879c0.zip |
conffile: fix some missing initializer warnings in the directives definition.
Michael
-rw-r--r-- | src/conffile.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/conffile.c b/src/conffile.c index f6074d3..a89910c 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -167,9 +167,9 @@ struct } directives[] = { /* comments */ - { BEGIN "#", handle_nop }, + { BEGIN "#", handle_nop, NULL }, /* blank lines */ - { "^[[:space:]]+$", handle_nop }, + { "^[[:space:]]+$", handle_nop, NULL }, /* string arguments */ STDCONF ("logfile", STR, handle_logfile), STDCONF ("pidfile", STR, handle_pidfile), @@ -218,10 +218,11 @@ struct #endif #ifdef UPSTREAM_SUPPORT /* upstream is rather complicated */ - { BEGIN "(no" WS "upstream)" WS STR END, handle_upstream_no }, + { BEGIN "(no" WS "upstream)" WS STR END, handle_upstream_no, NULL }, { BEGIN "(upstream)" WS "(" IP "|" ALNUM ")" ":" INT "(" WS STR ")?" END, - handle_upstream + handle_upstream, + NULL }, #endif /* loglevel */ |