[Freeswitch-svn] [commit] r10558 - freeswitch/trunk/scripts

FreeSWITCH SVN stkn at freeswitch.org
Thu Nov 27 13:40:30 PST 2008


Author: stkn
Date: Thu Nov 27 16:40:29 2008
New Revision: 10558

Log:
Fixup output of fsxs --variable

Modified:
   freeswitch/trunk/scripts/fsxs.in

Modified: freeswitch/trunk/scripts/fsxs.in
==============================================================================
--- freeswitch/trunk/scripts/fsxs.in	(original)
+++ freeswitch/trunk/scripts/fsxs.in	Thu Nov 27 16:40:29 2008
@@ -177,12 +177,14 @@
 
 sub fsxs_showq {
 	my @varlist = @_;
+	my $count = 0;
 
 	if( $#varlist >= 0 ) {
 		foreach( @varlist ) {
 			if( defined $vars{$_} ) {
-				print "$vars{$_} ";
+				print "$vars{$_}" . (($count < $#varlist) ? " " : "");
 			}
+			$count++;
 		}
 	}
 }



More information about the Freeswitch-svn mailing list