/pidgin/main: 6cd0c77b1f6a: HTTP: successful is spelled with one l

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Fri Aug 9 07:03:34 EDT 2013


Changeset: 6cd0c77b1f6a923f277883449140f15e151fbaed
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-08-09 13:03 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/6cd0c77b1f6a

Description:

HTTP: successful is spelled with one l

diffstat:

 finch/plugins/gnttinyurl.c                  |   4 ++--
 libpurple/http.c                            |   6 +++---
 libpurple/http.h                            |   2 +-
 libpurple/protocols/gg/avatar.c             |   4 ++--
 libpurple/protocols/gg/oauth/oauth-purple.c |   2 +-
 libpurple/protocols/gg/pubdir-prpl.c        |   2 +-
 libpurple/protocols/jabber/bosh.c           |   2 +-
 libpurple/protocols/jabber/google/relay.c   |   2 +-
 libpurple/protocols/jabber/oob.c            |   2 +-
 libpurple/protocols/jabber/useravatar.c     |   2 +-
 libpurple/protocols/msn/httpconn.c          |   2 +-
 libpurple/protocols/msn/msn.c               |   4 ++--
 libpurple/protocols/msn/slp.c               |   2 +-
 libpurple/protocols/msn/soap.c              |   2 +-
 libpurple/protocols/mxit/formcmds.c         |   2 +-
 libpurple/protocols/mxit/login.c            |   4 ++--
 libpurple/protocols/mxit/markup.c           |   2 +-
 libpurple/protocols/mxit/protocol.c         |   2 +-
 libpurple/protocols/myspace/user.c          |   2 +-
 libpurple/protocols/oscar/clientlogin.c     |   4 ++--
 libpurple/protocols/yahoo/libymsg.c         |  12 ++++++------
 libpurple/protocols/yahoo/yahoo_aliases.c   |   4 ++--
 libpurple/protocols/yahoo/yahoo_filexfer.c  |   6 +++---
 libpurple/protocols/yahoo/yahoo_picture.c   |   4 ++--
 libpurple/protocols/yahoo/yahoo_profile.c   |   4 ++--
 libpurple/protocols/yahoo/yahoochat.c       |   2 +-
 libpurple/upnp.c                            |   6 +++---
 pidgin/gtkprefs.c                           |   2 +-
 pidgin/gtksmiley.c                          |   2 +-
 pidgin/plugins/relnot.c                     |   2 +-
 30 files changed, 49 insertions(+), 49 deletions(-)

diffs (truncated from 531 to 300 lines):

diff --git a/finch/plugins/gnttinyurl.c b/finch/plugins/gnttinyurl.c
--- a/finch/plugins/gnttinyurl.c
+++ b/finch/plugins/gnttinyurl.c
@@ -213,7 +213,7 @@ static void url_fetched(PurpleHttpConnec
 	GList *convs = purple_get_conversations();
 	const gchar *url;
 
-	if (purple_http_response_is_successfull(response))
+	if (purple_http_response_is_successful(response))
 		url = purple_http_response_get_data(response, NULL);
 	else
 		url = _("Error while querying TinyURL");
@@ -360,7 +360,7 @@ tinyurl_notify_fetch_cb(PurpleHttpConnec
 	char *message;
 	const gchar *url;
 
-	if (!purple_http_response_is_successfull(response))
+	if (!purple_http_response_is_successful(response))
 		return;
 
 	url = purple_http_response_get_data(response, NULL);
diff --git a/libpurple/http.c b/libpurple/http.c
--- a/libpurple/http.c
+++ b/libpurple/http.c
@@ -1645,7 +1645,7 @@ static void purple_http_connection_termi
 	g_return_if_fail(hc != NULL);
 
 	purple_debug_misc("http", "Request %p performed %s.\n", hc,
-		purple_http_response_is_successfull(hc->response) ?
+		purple_http_response_is_successful(hc->response) ?
 		"successfully" : "without success");
 
 	if (hc->callback)
@@ -2693,7 +2693,7 @@ static void purple_http_response_free(Pu
 	g_free(response);
 }
 
-gboolean purple_http_response_is_successfull(PurpleHttpResponse *response)
+gboolean purple_http_response_is_successful(PurpleHttpResponse *response)
 {
 	int code;
 
@@ -2726,7 +2726,7 @@ const gchar * purple_http_response_get_e
 	if (response->error != NULL)
 		return response->error;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		static gchar errmsg[200];
 		if (response->code <= 0) {
 			g_snprintf(errmsg, sizeof(errmsg),
diff --git a/libpurple/http.h b/libpurple/http.h
--- a/libpurple/http.h
+++ b/libpurple/http.h
@@ -754,7 +754,7 @@ purple_http_connection_set_add(PurpleHtt
  * @param response The response.
  * @return         TRUE, if request was performed successfully.
  */
-gboolean purple_http_response_is_successfull(PurpleHttpResponse *response);
+gboolean purple_http_response_is_successful(PurpleHttpResponse *response);
 
 /**
  * Gets HTTP response code.
diff --git a/libpurple/protocols/gg/avatar.c b/libpurple/protocols/gg/avatar.c
--- a/libpurple/protocols/gg/avatar.c
+++ b/libpurple/protocols/gg/avatar.c
@@ -275,7 +275,7 @@ static void ggp_avatar_buddy_update_rece
 	g_assert(pending_update == avdata->current_update);
 	avdata->current_update = NULL;
 
-	if (!purple_http_response_is_successfull(response))
+	if (!purple_http_response_is_successful(response))
 	{
 		purple_debug_error("gg", "ggp_avatar_buddy_update_received: bad"
 			" response while getting avatar for %u: %s\n",
@@ -388,7 +388,7 @@ static void ggp_avatar_own_sent(PurpleHt
 	if (!PURPLE_CONNECTION_IS_VALID(gc))
 		return;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		purple_debug_error("gg", "ggp_avatar_own_sent: "
 			"avatar not sent. %s\n",
 			purple_http_response_get_error(response));
diff --git a/libpurple/protocols/gg/oauth/oauth-purple.c b/libpurple/protocols/gg/oauth/oauth-purple.c
--- a/libpurple/protocols/gg/oauth/oauth-purple.c
+++ b/libpurple/protocols/gg/oauth/oauth-purple.c
@@ -122,7 +122,7 @@ static void ggp_oauth_request_token_got(
 	}
 	account = purple_connection_get_account(data->gc);
 
-	if (!purple_http_response_is_successfull(response))
+	if (!purple_http_response_is_successful(response))
 	{
 		purple_debug_error("gg", "ggp_oauth_request_token_got: "
 			"requested token not received\n");
diff --git a/libpurple/protocols/gg/pubdir-prpl.c b/libpurple/protocols/gg/pubdir-prpl.c
--- a/libpurple/protocols/gg/pubdir-prpl.c
+++ b/libpurple/protocols/gg/pubdir-prpl.c
@@ -973,7 +973,7 @@ static void ggp_pubdir_set_info_got_toke
 static void ggp_pubdir_set_info_got_response(PurpleHttpConnection *http_conn,
 	PurpleHttpResponse *response, gpointer user_data)
 {
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		purple_debug_error("gg", "ggp_pubdir_set_info_got_response: "
 			"failed\n");
 		return;
diff --git a/libpurple/protocols/jabber/bosh.c b/libpurple/protocols/jabber/bosh.c
--- a/libpurple/protocols/jabber/bosh.c
+++ b/libpurple/protocols/jabber/bosh.c
@@ -192,7 +192,7 @@ jabber_bosh_connection_parse(PurpleJabbe
 		return NULL;
 	}
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		purple_connection_error(conn->js->gc,
 			PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
 			_("Unable to connect"));
diff --git a/libpurple/protocols/jabber/google/relay.c b/libpurple/protocols/jabber/google/relay.c
--- a/libpurple/protocols/jabber/google/relay.c
+++ b/libpurple/protocols/jabber/google/relay.c
@@ -80,7 +80,7 @@ jabber_google_relay_fetch_cb(PurpleHttpC
 
 	purple_debug_info("jabber", "got response on HTTP request to relay server\n");
 
-	if (purple_http_response_is_successfull(response)) {
+	if (purple_http_response_is_successful(response)) {
 		const gchar *got_data =
 			purple_http_response_get_data(response, NULL);
 		purple_debug_info("jabber", "got Google relay request response:\n%s\n",
diff --git a/libpurple/protocols/jabber/oob.c b/libpurple/protocols/jabber/oob.c
--- a/libpurple/protocols/jabber/oob.c
+++ b/libpurple/protocols/jabber/oob.c
@@ -82,7 +82,7 @@ jabber_oob_xfer_got(PurpleHttpConnection
 	jox = purple_xfer_get_protocol_data(xfer);
 	jox->hc = NULL;
 
-	if (!purple_http_response_is_successfull(response) ||
+	if (!purple_http_response_is_successful(response) ||
 		purple_xfer_get_bytes_remaining(xfer) > 0)
 	{
 		purple_xfer_set_status(xfer, PURPLE_XFER_STATUS_CANCEL_REMOTE);
diff --git a/libpurple/protocols/jabber/useravatar.c b/libpurple/protocols/jabber/useravatar.c
--- a/libpurple/protocols/jabber/useravatar.c
+++ b/libpurple/protocols/jabber/useravatar.c
@@ -268,7 +268,7 @@ do_buddy_avatar_update_fromurl(PurpleHtt
 	const gchar *got_data;
 	size_t got_len;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		purple_debug_error("jabber", "do_buddy_avatar_update_fromurl "
 			"got error \"%s\"",
 			purple_http_response_get_error(response));
diff --git a/libpurple/protocols/msn/httpconn.c b/libpurple/protocols/msn/httpconn.c
--- a/libpurple/protocols/msn/httpconn.c
+++ b/libpurple/protocols/msn/httpconn.c
@@ -303,7 +303,7 @@ msn_httpconn_read(PurpleHttpConnection *
 	const gchar *got_data;
 	size_t got_len;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		httpconn->current_request = NULL;
 		msn_servconn_got_error(httpconn->servconn,
 			MSN_SERVCONN_ERROR_READ,
diff --git a/libpurple/protocols/msn/msn.c b/libpurple/protocols/msn/msn.c
--- a/libpurple/protocols/msn/msn.c
+++ b/libpurple/protocols/msn/msn.c
@@ -2342,7 +2342,7 @@ msn_got_info(PurpleHttpConnection *http_
 	user_info = purple_notify_user_info_new();
 	has_tooltip_text = msn_tooltip_extract_info_text(user_info, info_data);
 
-	if (!purple_http_response_is_successfull(response))
+	if (!purple_http_response_is_successful(response))
 	{
 		purple_notify_user_info_add_pair_html(user_info,
 				_("Error retrieving profile"), NULL);
@@ -2757,7 +2757,7 @@ msn_got_photo(PurpleHttpConnection *http
 	char *photo_url_text = info2_data->photo_url_text;
 
 	/* Try to put the photo in there too, if there's one and is readable */
-	if (response && purple_http_response_is_successfull(response))
+	if (response && purple_http_response_is_successful(response))
 	{
 		char buf[1024];
 		const gchar *photo_data;
diff --git a/libpurple/protocols/msn/slp.c b/libpurple/protocols/msn/slp.c
--- a/libpurple/protocols/msn/slp.c
+++ b/libpurple/protocols/msn/slp.c
@@ -177,7 +177,7 @@ fetched_user_display(PurpleHttpConnectio
 	MsnFetchUserDisplayData *data = _data;
 	MsnSession *session = data->session;
 
-	if (purple_http_response_is_successfull(response)) {
+	if (purple_http_response_is_successful(response)) {
 		size_t len;
 		const gchar *icon_data;
 
diff --git a/libpurple/protocols/msn/soap.c b/libpurple/protocols/msn/soap.c
--- a/libpurple/protocols/msn/soap.c
+++ b/libpurple/protocols/msn/soap.c
@@ -145,7 +145,7 @@ msn_soap_service_recv(PurpleHttpConnecti
 		msn_soap_request_free(sreq);
 		return;
 	}
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		purple_debug_error("msn-soap", "SOAP request failed\n");
 		msn_session_set_error(sreq->soaps->session,
 			MSN_ERROR_SERV_UNAVAILABLE, NULL);
diff --git a/libpurple/protocols/mxit/formcmds.c b/libpurple/protocols/mxit/formcmds.c
--- a/libpurple/protocols/mxit/formcmds.c
+++ b/libpurple/protocols/mxit/formcmds.c
@@ -90,7 +90,7 @@ mxit_cb_ii_returned(PurpleHttpConnection
 	purple_debug_info(MXIT_PLUGIN_ID, "Inline Image returned from %s\n", iireq->url);
 #endif
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		/* no reply from the WAP site */
 		purple_debug_error(MXIT_PLUGIN_ID, "Error downloading Inline Image from %s.\n", iireq->url);
 		goto done;
diff --git a/libpurple/protocols/mxit/login.c b/libpurple/protocols/mxit/login.c
--- a/libpurple/protocols/mxit/login.c
+++ b/libpurple/protocols/mxit/login.c
@@ -392,7 +392,7 @@ mxit_cb_clientinfo2(PurpleHttpConnection
 
 	purple_debug_info( MXIT_PLUGIN_ID, "mxit_clientinfo_cb2\n" );
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		/* no reply from the WAP site */
 		purple_connection_error( session->con, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _( "Error contacting the MXit WAP site. Please try again later." ) );
 		return;
@@ -626,7 +626,7 @@ mxit_cb_clientinfo1(PurpleHttpConnection
 		purple_http_response_get_data(response, NULL));
 #endif
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		/* no reply from the WAP site */
 		purple_connection_error( session->con, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _( "Error contacting the MXit WAP site. Please try again later." ) );
 		return;
diff --git a/libpurple/protocols/mxit/markup.c b/libpurple/protocols/mxit/markup.c
--- a/libpurple/protocols/mxit/markup.c
+++ b/libpurple/protocols/mxit/markup.c
@@ -482,7 +482,7 @@ static void emoticon_returned(PurpleHttp
 
 	purple_debug_info( MXIT_PLUGIN_ID, "emoticon_returned\n" );
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		/* no reply from the WAP site */
 		purple_debug_error( MXIT_PLUGIN_ID, "Error contacting the MXit WAP site. Please try again later (emoticon).\n" );
 		goto done;
diff --git a/libpurple/protocols/mxit/protocol.c b/libpurple/protocols/mxit/protocol.c
--- a/libpurple/protocols/mxit/protocol.c
+++ b/libpurple/protocols/mxit/protocol.c
@@ -271,7 +271,7 @@ mxit_cb_http_rx(PurpleHttpConnection *ht
 	const gchar *got_data;
 	size_t got_len;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		purple_debug_error(MXIT_PLUGIN_ID, "HTTP response error (%s)\n",
 			purple_http_response_get_error(response));
 		return;
diff --git a/libpurple/protocols/myspace/user.c b/libpurple/protocols/myspace/user.c
--- a/libpurple/protocols/myspace/user.c
+++ b/libpurple/protocols/myspace/user.c
@@ -225,7 +225,7 @@ msim_downloaded_buddy_icon(PurpleHttpCon
 	g_assert(user->http_conn == http_conn);
 	user->http_conn = NULL;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		purple_debug_info("msim_downloaded_buddy_icon",
 				"failed to download icon for %s",
 				name);
diff --git a/libpurple/protocols/oscar/clientlogin.c b/libpurple/protocols/oscar/clientlogin.c
--- a/libpurple/protocols/oscar/clientlogin.c
+++ b/libpurple/protocols/oscar/clientlogin.c
@@ -333,7 +333,7 @@ start_oscar_session_cb(PurpleHttpConnect
 
 	od->hc = NULL;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {
 		gchar *tmp;
 		/* Note to translators: The first %s is a URL, the second is an
 		   error message. */
@@ -571,7 +571,7 @@ client_login_cb(PurpleHttpConnection *ht
 
 	od->hc = NULL;
 
-	if (!purple_http_response_is_successfull(response)) {
+	if (!purple_http_response_is_successful(response)) {



More information about the Commits mailing list