[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-committers
Subject:    [ProFTPD-committers] CVS: proftpd/modules mod_core.c,1.380,1.381
From:       "TJ Saunders" <castaglia () users ! sourceforge ! net>
Date:       2010-06-30 15:56:02
Message-ID: E1OTzdq-0006K0-Ff () sfp-cvsdas-2 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/proftp/proftpd/modules
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv24274/modules

Modified Files:
	mod_core.c 
Log Message:

Stylistic nits; no functional change.


Index: mod_core.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/modules/mod_core.c,v
retrieving revision 1.380
retrieving revision 1.381
diff -u -r1.380 -r1.381
--- mod_core.c	20 Apr 2010 03:44:04 -0000	1.380
+++ mod_core.c	30 Jun 2010 15:55:58 -0000	1.381
@@ -4960,7 +4960,6 @@
       m = pr_module_get(modulev[i]);
 
       if (m) {
-
         if (m->authtable) {
           authtable *authtab;
 
@@ -4974,20 +4973,23 @@
           for (authtab = m->authtable; authtab->name; authtab++) {
             authtab->m = m;
 
-            if (required)
+            if (required) {
               authtab->auth_flags |= PR_AUTH_FL_REQUIRED;
+            }
 
             pr_stash_add_symbol(PR_SYM_AUTH, authtab);
           }
 
-        } else
+        } else {
           pr_log_debug(DEBUG0, "AuthOrder: warning: module '%s' is not a valid "
             "auth module (no auth handlers), authentication may fail",
             modulev[i]);
+        }
 
-      } else
+      } else {
         pr_log_debug(DEBUG0, "AuthOrder: warning: module '%s' not loaded",
           modulev[i]);
+      }
     }
 
     /* NOTE: the master conf/cmd/auth tables/arrays should ideally be


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
ProFTPD Committers Mailing List
proftpd-committers@proftpd.org
https://lists.sourceforge.net/lists/listinfo/proftp-committers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic