diff src/auth/auth-settings.c @ 9451:d86490ef27bd HEAD

auth: Fixed auth_debug_password -> auth_debug -> auth_Verbose cascading.
author Timo Sirainen <tss@iki.fi>
date Thu, 04 Jun 2009 17:12:10 -0400
parents 269cebf1aad4
children 3f4d796db5fd
line wrap: on
line diff
--- a/src/auth/auth-settings.c	Thu Jun 04 16:27:24 2009 -0400
+++ b/src/auth/auth-settings.c	Thu Jun 04 17:12:10 2009 -0400
@@ -181,6 +181,11 @@
 {
 	struct auth_settings *set = _set;
 
+	if (set->debug_passwords)
+		set->debug = TRUE;
+	if (set->debug)
+		set->verbose = TRUE;
+
 	if (set->name == NULL) {
 		*error_r = "auth section is missing name";
 		return FALSE;