]> dxcluster.org Git - spider.git/commitdiff
fix uninitialised variable in non-xml installations
authorminima <minima>
Mon, 16 Jan 2006 13:55:26 +0000 (13:55 +0000)
committerminima <minima>
Mon, 16 Jan 2006 13:55:26 +0000 (13:55 +0000)
perl/DXProtout.pm

index 31c9a7fc75a8215f76bf0a237ab8dfaf91627328..657057c9e03cbb99f056457018714bdc050af177 100644 (file)
@@ -123,7 +123,8 @@ sub pc17
 # Request init string
 sub pc18
 {
-       my $flags = " xml" if $handle_xml; 
+       my $flags = "";
+       $flags .= " xml" if $handle_xml; 
        return "PC18^DXSpider Version: $main::version Build: $main::build$flags^$DXProt::myprot_version^";
 }