changeset 12295:00637db0e54c

acl: Avoid passing NULL parameter to printf %s when mail_debug=yes
author Timo Sirainen <tss@iki.fi>
date Mon, 18 Oct 2010 14:52:02 +0100
parents b8803a1e2dc2
children 953e7c6e546b
files src/plugins/acl/acl-backend-vfile.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/acl/acl-backend-vfile.c	Sat Oct 16 18:33:42 2010 +0100
+++ b/src/plugins/acl/acl-backend-vfile.c	Mon Oct 18 14:52:02 2010 +0100
@@ -102,6 +102,7 @@
 	}
 	if (_backend->debug) {
 		i_debug("acl vfile: Global ACL directory: %s",
+			backend->global_dir == NULL ? "(none)" :
 			backend->global_dir);
 	}