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

List:       proftpd-committers
Subject:    [ProFTPD-committers] [Bug 1861] 'ftpwho -v -o oneline' print all connections in one line
From:       bugzilla-daemon () horde ! net
Date:       2002-11-29 9:09:23
[Download RAW message or body]

http://bugs.proftpd.org/show_bug.cgi?id=1861

newclear@21cn.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|PC                          |All
            Version|1.2.7rc3                    |CVS



------- Additional Comments From newclear@21cn.com  2002-11-29 04:09 -------
When the server without any classes in config, the command 'ftp -v -o oneline' 
print all connections' infomation in one line, not every connection in one line.

I correct it as this:

# diff -uNr ftpwho.c.bak ftpwho.c
--- ftpwho.c.bak        Fri Nov 29 17:12:06 2002
+++ ftpwho.c    Fri Nov 29 16:49:19 2002
@@ -401,10 +401,11 @@
             (outform & OF_ONELINE) ? "" : "\n");
 
         if (score->sce_class[0])
-          printf("%sclass: %s\n",
+          printf("%sclass: %s",
             (outform & OF_ONELINE) ? " " : "\t",
             score->sce_class);
 
+       printf("\n");
       } else
         printf("%s", "\n");



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
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