ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent/Handle.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent/Handle.pm (file contents):
Revision 1.139 by root, Sun Jul 5 23:39:48 2009 UTC vs.
Revision 1.140 by root, Mon Jul 6 00:45:00 2009 UTC

856 856
857 if ($self->{_eof}) { 857 if ($self->{_eof}) {
858 if ($self->{on_eof}) { 858 if ($self->{on_eof}) {
859 $self->{on_eof}($self) 859 $self->{on_eof}($self)
860 } else { 860 } else {
861 $self->_error (0, 1); 861 $self->_error (0, 1, "Unexpected end-of-file");
862 } 862 }
863 } 863 }
864 864
865 # may need to restart read watcher 865 # may need to restart read watcher
866 unless ($self->{_rw}) { 866 unless ($self->{_rw}) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines