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

List:       proftpd-committers
Subject:    [ProFTPD-committers] CVS: proftpd/modules mod_auth_file.c, 1.32,
From:       TJ Saunders <castaglia () users ! sourceforge ! net>
Date:       2007-06-12 17:41:52
Message-ID: E1HyANM-0007EJ-Kc () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/proftp/proftpd/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27769/modules

Modified Files:
	mod_auth_file.c 
Log Message:

Remove some debug logging which inadvertently crept into mod_auth_file.


Index: mod_auth_file.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/modules/mod_auth_file.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- mod_auth_file.c	3 Jan 2007 22:57:33 -0000	1.32
+++ mod_auth_file.c	12 Jun 2007 17:41:50 -0000	1.33
@@ -2,7 +2,7 @@
  * ProFTPD: mod_auth_file - file-based authentication module that supports
  *                          restrictions on the file contents
  *
- * Copyright (c) 2002-2006 The ProFTPD Project team
+ * Copyright (c) 2002-2007 The ProFTPD Project team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -410,8 +410,6 @@
       return 0;
 
     } else {
-pr_log_debug(DEBUG0, MOD_AUTH_FILE_VERSION ": af_setgrent: opening AuthGroupFile");
-
       af_group_file->af_file = fopen(af_group_file->af_path, "r");
       if (af_group_file->af_file == NULL) {
         pr_log_pri(PR_LOG_ERR, "error: unable to open group file '%s': %s",
@@ -590,7 +588,6 @@
       return 0;
 
     } else {
-pr_log_debug(DEBUG0, MOD_AUTH_FILE_VERSION ": af_setpwent: opening AuthUserFile \
'%s'", af_user_file->af_path);  af_user_file->af_file = fopen(af_user_file->af_path, \
"r");  if (af_user_file->af_file == NULL) {
         pr_log_pri(PR_LOG_ERR, "error: unable to open passwd file '%s': %s",
@@ -1142,13 +1139,11 @@
   c = find_config(main_server->conf, CONF_PARAM, "AuthUserFile", FALSE);
   if (c) {
     af_user_file = c->argv[0];
-pr_log_debug(DEBUG0, MOD_AUTH_FILE_VERSION ": found AuthUserFile '%s'", \
af_user_file->af_path);  }
 
   c = find_config(main_server->conf, CONF_PARAM, "AuthGroupFile", FALSE);
   if (c) {
     af_group_file = c->argv[0];
-pr_log_debug(DEBUG0, MOD_AUTH_FILE_VERSION ": found AuthGroupFile '%s'", \
af_group_file->af_path);  }
 
   return 0;


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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