ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/src/send.C
(Generate patch)

Comparing ermyth/src/send.C (file contents):
Revision 1.6 by pippijn, Wed Aug 29 21:01:19 2007 UTC vs.
Revision 1.7 by pippijn, Thu Aug 30 19:56:26 2007 UTC

3 * Rights to this code are documented in doc/pod/license.pod. 3 * Rights to this code are documented in doc/pod/license.pod.
4 * 4 *
5 * Copyright © 2005-2007 Atheme Project (http://www.atheme.org) 5 * Copyright © 2005-2007 Atheme Project (http://www.atheme.org)
6 */ 6 */
7 7
8static char const rcsid[] = "$Id: send.C,v 1.6 2007/08/29 21:01:19 pippijn Exp $"; 8static char const rcsid[] = "$Id: send.C,v 1.7 2007/08/30 19:56:26 pippijn Exp $";
9 9
10#include "atheme.h" 10#include "atheme.h"
11#include "uplink.h" 11#include "uplink.h"
12#include "datastream.h" 12#include "datastream.h"
13#include "connection.h"
13 14
14/* send a line to the server, append the \r\n */ 15/* send a line to the server, append the \r\n */
15int 16int
16sts (char const * const fmt, ...) 17sts (char const * const fmt, ...)
17{ 18{
74 delay = event_next_time (); 75 delay = event_next_time ();
75 76
76 if (delay <= NOW) 77 if (delay <= NOW)
77 event_run (); 78 event_run ();
78 79
79 connection_select (25000); 80 connection_t::select (25000);
80 81
81 gc.collect (); 82 gc.collect ();
82 } 83 }
83} 84}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines