Skip to content

Commit

Permalink
[backend] return an empty string instead of undef from the null handler
Browse files Browse the repository at this point in the history
So that we can check for unfinished jobs
  • Loading branch information
mlschroe committed Aug 19, 2015
1 parent 5cce81f commit c25394c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/BSHTTP.pm
Expand Up @@ -170,7 +170,7 @@ sub fd2hdr {
sub null_receiver {
my ($hdr, $param) = @_;
1 while(read_data($hdr, 8192) ne '');
return undef;
return '';
}

sub file_receiver {
Expand Down

0 comments on commit c25394c

Please sign in to comment.