--- a/plugins/yay/outgoing.c Fri Mar 09 12:34:39 2001 +0000 +++ b/plugins/yay/outgoing.c Sat Mar 10 00:00:18 2001 +0000 @@ -30,7 +30,7 @@ if (!g_list_find(session->connlist, conn)) return 0; - if (write(conn->socket, buf, len) != len) { + if (send(conn->socket, buf, len, 0) != len) { int type = conn->type; yahoo_close(session, conn); YAHOO_PRINT(session, YAHOO_LOG_CRITICAL, "error sending");