[prev in list] [next in list] [prev in thread] [next in thread]
List: proftpd-committers
Subject: [ProFTPD-committers] CVS: proftpd/contrib mod_ban.c,1.5,1.6
From: TJ Saunders <castaglia () users ! sourceforge ! net>
Date: 2007-06-25 17:19:05
Message-ID: E1I2sDR-0004y3-Hp () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/proftp/proftpd/contrib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18873/contrib
Modified Files:
mod_ban.c
Log Message:
Bug#2942 - BanLog directive does not accept "none" parameter.
Index: mod_ban.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/contrib/mod_ban.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mod_ban.c 18 Dec 2006 20:04:49 -0000 1.5
+++ mod_ban.c 25 Jun 2007 17:19:03 -0000 1.6
@@ -1427,8 +1427,10 @@
CHECK_ARGS(cmd, 1);
CHECK_CONF(cmd, CONF_ROOT);
- if (pr_fs_valid_path(cmd->argv[1]) < 0)
+ if (strcasecmp(cmd->argv[1], "none") != 0 &&
+ pr_fs_valid_path(cmd->argv[1]) < 0) {
CONF_ERROR(cmd, "must be an absolute path");
+ }
ban_log = pstrdup(ban_pool, cmd->argv[1]);
return PR_HANDLED(cmd);
-------------------------------------------------------------------------
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