defect 4116: fix the issue that send_response subroutine doesnot exist in xcatd 2.8.4 but was used.

This commit is contained in:
daniceexi 2014-05-08 04:48:33 -04:00
parent 94b107f138
commit cb0f268589

View File

@ -1998,7 +1998,7 @@ sub service_connection {
$resp={error=>["Authentication failure"],errorcode=>[1]};
}
$resp->{serverdone}=[ undef ] ;
send_response($resp,$sock);
print $sock XMLout($resp,RootName => 'xcatresponse',NoAttr=>1);
return;
}
@ -2009,7 +2009,7 @@ sub service_connection {
unless (defined $peername) {
my $resp={error=>["Authentication failure"],errorcode=>[1]};
$resp->{serverdone}=[ undef ] ;
send_response($resp,$sock);
print $sock XMLout($resp,RootName => 'xcatresponse',NoAttr=>1);
return;
}
delete($req->{tokenid});