martin: server/kolabconf/lib/Kolab Conf.pm,1.12,1.13

cvs at kolab.org cvs at kolab.org
Mon Feb 25 16:05:06 CET 2008


Author: martin

Update of /kolabrepository/server/kolabconf/lib/Kolab
In directory doto:/tmp/cvs-serv4470

Modified Files:
	Conf.pm 
Log Message:
Applied fix from mcayland


Index: Conf.pm
===================================================================
RCS file: /kolabrepository/server/kolabconf/lib/Kolab/Conf.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Conf.pm	17 Oct 2007 17:57:13 -0000	1.12
+++ Conf.pm	25 Feb 2008 15:05:04 -0000	1.13
@@ -185,7 +185,7 @@
 			      if (ref $Kolab::config{$attr} eq "ARRAY") {
 				  my @vals = @{$Kolab::config{$attr}} ;
 				  # We want to make sure subdomain.domain.tld comes before domain.tld
-				  my @length_sorted_vals = sort {length $a cmp length $b} @vals;
+				  my @length_sorted_vals = sort {length $b cmp length $a} @vals;
 				  $val = join ($args, @length_sorted_vals) ;
 			      } else {
 				  $val = $Kolab::config{$attr};





More information about the commits mailing list