/dev/tomkiewicz/gg11: 1c70f07fecc0: Gadu-Gadu: fix compile errors

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Tue Aug 13 03:03:46 EDT 2013


Changeset: 1c70f07fecc0aa2cb692b02de96664f136f5c164
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-08-12 11:43 +0200
Branch:	 default
URL: https://hg.pidgin.im/dev/tomkiewicz/gg11/rev/1c70f07fecc0

Description:

Gadu-Gadu: fix compile errors

diffstat:

 libpurple/protocols/gg/edisc.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (57 lines):

diff --git a/libpurple/protocols/gg/edisc.c b/libpurple/protocols/gg/edisc.c
--- a/libpurple/protocols/gg/edisc.c
+++ b/libpurple/protocols/gg/edisc.c
@@ -439,7 +439,7 @@ static void ggp_edisc_xfer_send_init_tic
 
 	edisc_xfer->hc = NULL;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		int error_id = ggp_edisc_parse_error(data);
 		if (error_id == 206) /* recipient not logged in */
 			ggp_edisc_xfer_error(xfer,
@@ -609,7 +609,7 @@ static void ggp_edisc_xfer_send_done(Pur
 
 	edisc_xfer->hc = NULL;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		ggp_edisc_xfer_error(xfer, _("Error while sending a file"));
 		return;
 	}
@@ -747,7 +747,7 @@ static void ggp_edisc_xfer_recv_ticket_u
 	uin_t sender, recipient;
 	int file_size;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		purple_debug_error("gg",
 			"ggp_edisc_xfer_recv_ticket_update_got: "
 			"cannot fetch update for ticket (code=%d)\n",
@@ -908,7 +908,7 @@ static void ggp_edisc_xfer_recv_ack_done
 	edisc_xfer = purple_xfer_get_protocol_data(xfer);
 	edisc_xfer->hc = NULL;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		ggp_edisc_xfer_error(xfer, _("Cannot confirm file transfer."));
 		return;
 	}
@@ -1016,7 +1016,7 @@ static void ggp_edisc_xfer_recv_done(Pur
 
 	edisc_xfer->hc = NULL;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		ggp_edisc_xfer_error(xfer, _("Error while receiving a file"));
 		return;
 	}
@@ -1138,7 +1138,7 @@ static void ggp_ggdrive_auth_done(Purple
 
 	sdata->auth_request = NULL;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		purple_debug_misc("gg", "ggp_ggdrive_auth_done: authentication "
 			"failed due to unsuccessful request (code = %d)\n",
 			purple_http_response_get_code(response));



More information about the Commits mailing list