ispman/lib/ISPMan/DNSMan MXrecords.pm,1.21,1.22

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib/ISPMan/DNSMan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19683/lib/ISPMan/DNSMan

Modified Files:
	MXrecords.pm 
Log Message:
perltidy (2nd run)

Index: MXrecords.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/DNSMan/MXrecords.pm,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- MXrecords.pm	30 May 2004 23:35:38 -0000	1.21
+++ MXrecords.pm	31 May 2004 20:13:41 -0000	1.22
@@ -112,7 +112,8 @@
 
 # sort mx array, so origin record (@) with highest priority (lowest value) is at top
     my @sorted = sort {
-        $a->{'origion'} cmp $b->{'origion'} || $a->{'pref'} <=> $b->{'pref'}
+             $a->{'origion'} cmp $b->{'origion'}
+          || $a->{'pref'} <=> $b->{'pref'}
     } @$mxrecords;
 
     return $sorted[0]{'host'};



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.