conffile: reformat some indentation and linebreak in the directives definition.
Michael
This commit is contained in:
parent
8f955d5543
commit
32c7caf710
@ -167,11 +167,9 @@ struct
|
|||||||
} directives[] =
|
} directives[] =
|
||||||
{
|
{
|
||||||
/* comments */
|
/* comments */
|
||||||
{
|
{ BEGIN "#", handle_nop },
|
||||||
BEGIN "#", handle_nop},
|
/* blank lines */
|
||||||
/* blank lines */
|
{ "^[[:space:]]+$", handle_nop },
|
||||||
{
|
|
||||||
"^[[:space:]]+$", handle_nop},
|
|
||||||
/* string arguments */
|
/* string arguments */
|
||||||
STDCONF ("logfile", STR, handle_logfile),
|
STDCONF ("logfile", STR, handle_logfile),
|
||||||
STDCONF ("pidfile", STR, handle_pidfile),
|
STDCONF ("pidfile", STR, handle_pidfile),
|
||||||
@ -219,12 +217,12 @@ struct
|
|||||||
STDCONF ("reversepath", STR WS "(" STR ")?", handle_reversepath),
|
STDCONF ("reversepath", STR WS "(" STR ")?", handle_reversepath),
|
||||||
#endif
|
#endif
|
||||||
#ifdef UPSTREAM_SUPPORT
|
#ifdef UPSTREAM_SUPPORT
|
||||||
/* upstream is rather complicated */
|
/* upstream is rather complicated */
|
||||||
|
{ BEGIN "(no" WS "upstream)" WS STR END, handle_upstream_no },
|
||||||
{
|
{
|
||||||
BEGIN "(no" WS "upstream)" WS STR END, handle_upstream_no},
|
BEGIN "(upstream)" WS "(" IP "|" ALNUM ")" ":" INT "(" WS STR ")?" END,
|
||||||
{
|
handle_upstream
|
||||||
BEGIN "(upstream)" WS "(" IP "|" ALNUM ")" ":" INT "(" WS STR ")?" END,
|
},
|
||||||
handle_upstream},
|
|
||||||
#endif
|
#endif
|
||||||
/* loglevel */
|
/* loglevel */
|
||||||
STDCONF ("loglevel", "(critical|error|warning|notice|connect|info)",
|
STDCONF ("loglevel", "(critical|error|warning|notice|connect|info)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user