diff src/config/settings-get.pl @ 17397:f373df52082a

treewide - mass cleanup of 0 used to end a settings list This also includes a change to the perl script which generates the all-settings.c file. Signed-off-by: Phil Carmody <phil@dovecot.fi>
author Phil Carmody <phil@dovecot.fi>
date Tue, 27 May 2014 21:17:34 +0300
parents 78749ae0c9c2
children c1b70b76f9bb
line wrap: on
line diff
--- a/src/config/settings-get.pl	Tue May 27 21:17:34 2014 +0300
+++ b/src/config/settings-get.pl	Tue May 27 21:17:34 2014 +0300
@@ -132,7 +132,7 @@
 }
 print "};\n";
 print "buffer_t config_all_services_buf = {\n";
-print "\tconfig_all_services, sizeof(config_all_services), { 0, }\n";
+print "\tconfig_all_services, sizeof(config_all_services), { NULL, }\n";
 print "};\n";
 
 print "const struct setting_parser_info *all_default_roots[] = {\n";