Ticket #4207: MythTV.pm.patch
File MythTV.pm.patch, 670 bytes (added by , 16 years ago) |
---|
-
MythTV.pm
old new 292 292 return; 293 293 } 294 294 # Read the response header to find out how much data we'll be grabbing 295 read($$fp, $length, 8); 295 my $result = read($$fp, $length, 8); 296 if (! defined $result) { 297 warn "Error reading from MythTV backend: $!\n"; 298 return ""; 299 } elsif ($result == 0) { 300 warn "No data returned by MythTV backend.\n"; 301 return ""; 302 } 303 296 304 $length = int($length); 297 305 # Read and return any data that was returned 298 306 $ret = '';