Mercurial > pidgin
diff plugins/yay/outgoing.c @ 1554:c3afde736a8a
[gaim-migrate @ 1564]
good stuff.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 10 Mar 2001 00:00:18 +0000 |
parents | 92b3dd1e4129 |
children | 4a47a459cc98 |
line wrap: on
line diff
--- 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");