Branch: Tag:

1998-10-16

1998-10-16 00:08:11 by Niels Möller <nisse@lysator.liu.se>

Removed variable timeout_handler in class imap_style.

Rev: lib/modules/Protocols.pmod/Line.pmod:1.6

1:   /* -  * $Id: Line.pmod,v 1.5 1998/10/12 15:44:27 nisse Exp $ +  * $Id: Line.pmod,v 1.6 1998/10/16 00:08:11 nisse Exp $    *    * Line-buffered protocol handling.    *
167:    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;    }
219:    function handle_literal = 0;    int literal_length;    + #if 0    function timeout_handler = 0; -  + #endif       static void read_callback(mixed ignored, string data)    {
255:    handle_literal = callback;    }    + #if 0    static void do_timeout()    {    if (timeout_handler)
272:    timeout_handler = callback;    ::create(con_, timeout_);    } + #endif   }