--- a/libpurple/protocols/qq/recv_core.c Sun Oct 14 12:19:20 2007 +0000 +++ b/libpurple/protocols/qq/recv_core.c Sun Oct 14 21:08:42 2007 +0000 @@ -306,7 +306,7 @@ gc = (PurpleConnection *) data; if(cond != PURPLE_INPUT_READ) { - purple_connection_error_reason(gc, PURPLE_REASON_NETWORK_ERROR, + purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Socket error")); return; } @@ -317,7 +317,7 @@ /* here we have UDP proxy suppport */ len = qq_proxy_read(qd, buf, MAX_PACKET_SIZE); if (len <= 0) { - purple_connection_error_reason(gc, PURPLE_REASON_NETWORK_ERROR, + purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Unable to read from socket")); return; } else {