--- a/plugins/yay/rxhandlers.c Sat Mar 24 11:23:22 2001 +0000 +++ b/plugins/yay/rxhandlers.c Sun Mar 25 02:51:57 2001 +0000 @@ -358,9 +358,12 @@ } else if (conn->type == YAHOO_CONN_TYPE_PROXY) { char *buf = g_malloc0(5000); int nlc = 0; - while ((nlc != 2) && (read(socket, &buf[pos++], 1) == 1)) + while ((nlc != 2) && (read(socket, &buf[pos++], 1) == 1)) { if (buf[pos-1] == '\n') nlc++; + else if (buf[pos-1] != '\r') + nlc = 0; + } if (pos == 1) { g_free(buf); yahoo_close(session, conn);