Skip to content
Snippets Groups Projects
Commit c50ab642 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed bug.

Rev: lib/modules/Stdio.pmod/module.pmod:1.61
parent 2bb2225b
Branches
Tags
No related merge requests found
// $Id: module.pmod,v 1.60 1999/08/08 12:53:05 grubba Exp $ // $Id: module.pmod,v 1.61 1999/08/21 01:15:00 grubba Exp $
import String; import String;
...@@ -868,12 +868,12 @@ static class nb_sendfile ...@@ -868,12 +868,12 @@ static class nb_sendfile
#endif /* SENDFILE_DEBUG */ #endif /* SENDFILE_DEBUG */
// Disable any reader. // Disable any reader.
if (from) { if (from && from->set_nonblocking) {
from->set_nonblocking(0,0,0); from->set_nonblocking(0,0,0);
} }
// Disable any writer. // Disable any writer.
if (to) { if (to && to->set_nonblocking) {
to->set_nonblocking(0,0,0); to->set_nonblocking(0,0,0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment