Skip to content

Commit

Permalink
Fix warning at end of stats responses in sasl test
Browse files Browse the repository at this point in the history
  • Loading branch information
dormando committed Nov 27, 2009
1 parent 1efcd03 commit 51d5489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/binary-sasl.t
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ sub _handle_single_response {
my ($magic, $cmd, $keylen, $extralen, $datatype, $status, $remaining,
$opaque, $ident_hi, $ident_lo) = unpack(::RES_PKT_FMT, $response);

return ($opaque, '', '', 0) if not defined $remaining;
return ($opaque, '', '', 0) if ($remaining == 0);
return ($opaque, '', '', '', 0) if not defined $remaining;
return ($opaque, '', '', '', 0) if ($remaining == 0);

# fetch the value
my $rv="";
Expand Down

0 comments on commit 51d5489

Please sign in to comment.