src/irc_conn.c
changeset 19 8c80580ccde9
parent 18 dedf137b504f
child 20 d9c4c2980a0d
--- a/src/irc_conn.c	Sat Feb 28 22:47:39 2009 +0200
+++ b/src/irc_conn.c	Sat Feb 28 23:48:34 2009 +0200
@@ -63,7 +63,8 @@
     strcat(line_buf, "\r\n");
 
     // send using line_proto
-    return line_proto_write(conn->lp, line_buf);
+    // XXX: ignore output-buffering
+    return (err = line_proto_write(conn->lp, line_buf)) < 0 ? err : SUCCESS;
 }
 
 err_t irc_conn_NICK (struct irc_conn *conn, const char *nickname)