summaryrefslogtreecommitdiff
path: root/ftp/proftpd-devel/files/patch-ae
blob: 7496f3be8d6f4c9529248b3c385707fc409c4148 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- modules//mod_auth.c.orig	Sun Jun  7 16:17:57 1998
+++ modules/mod_auth.c	Sun Jun  7 16:21:29 1998
@@ -177,7 +177,7 @@
   /* Is this the proper behavior when timing out? */
   send_response_async(R_421,"Login Timeout (%d seconds): closing control connection.",
                       TimeoutLogin);
-  schedule(main_exit,0,(void*)LOG_NOTICE,"FTP login timed out, disconnected.",
+  schedule(main_exit,0,(void*)LOG_INFO,"FTP login timed out, disconnected.",
            (void*)0,NULL);
   remove_timer(TIMER_IDLE,ANY_MODULE);
   remove_timer(TIMER_NOXFER,ANY_MODULE);
@@ -763,10 +763,10 @@
   }
 
   if(c)
-    log_auth(LOG_NOTICE,"ANONYMOUS FTP login as '%s' from %s [%s]",
+    log_auth(LOG_INFO,"ANONYMOUS FTP login as '%s' from %s [%s]",
     origuser,session.c->remote_name,inet_ntoa(*session.c->remote_ipaddr));
   else
-    log_auth(LOG_NOTICE,"FTP login as '%s' from %s [%s]",
+    log_auth(LOG_INFO,"FTP login as '%s' from %s [%s]",
     origuser,session.c->remote_name,inet_ntoa(*session.c->remote_ipaddr));
 
   session.user = pstrdup(permanent_pool,auth_map_uid(pw->pw_uid));
@@ -987,7 +987,7 @@
       send_response(R_530,"%s",
                     sreplace(cmd->tmp_pool,maxstr,"%m",maxn,NULL));
 
-      log_auth(LOG_NOTICE,"connection refused (max clients %d)",
+      log_auth(LOG_INFO,"connection refused (max clients %d)",
                max);
       end_login(0);
     }