diff options
Diffstat (limited to '')
-rw-r--r-- | daemon/conf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/conf.c b/daemon/conf.c index c31115b..383673c 100644 --- a/daemon/conf.c +++ b/daemon/conf.c @@ -134,6 +134,9 @@ static gboolean init_file_dest( struct destination *dest, { const gchar *aname; + /* set nonzero defaults */ + dest->u.file.ifempty = TRUE; + for( ; (aname = *attribute_names) != NULL; attribute_names++, attribute_values++ ) { const gchar *aval = *attribute_values; @@ -803,6 +806,8 @@ static void dump_configuration() d->name, d->u.file.name_pattern, d->u.relay.omit_hostname? "yes" : "no" ); break; + default: + break; } } TRACE( "Filters:\n" ); |