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

The close callback now clears all the nonblocking callbacks.

Rev: lib/modules/Protocols.pmod/Line.pmod:1.4
parent c8d8c664
No related branches found
No related tags found
No related merge requests found
/*
* $Id: Line.pmod,v 1.3 1998/09/28 01:17:07 per Exp $
* $Id: Line.pmod,v 1.4 1998/10/10 00:54:32 grubba Exp $
*
* Line-buffered protocol handling.
*
......@@ -161,6 +161,7 @@ class simple
if (handle_data || sizeof(read_buffer) || sizeof(multi_line_buffer)) {
werror("close_callback(): Unexpected close!\n");
}
con->set_nonblocking(0,0,0);
con->close();
con = 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment