pidgin: c3ae28b1: Whitespace changes
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Sun Jul 17 13:26:08 EDT 2011
----------------------------------------------------------------------
Revision: c3ae28b1be730762a50505fd9d0c1a087a3d490a
Parent: 5ef0b1be0093e35cabb262017f3ee49c7b308c82
Author: darkrain42 at pidgin.im
Date: 07/17/11 13:15:13
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c3ae28b1be730762a50505fd9d0c1a087a3d490a
Changelog:
Whitespace changes
Changes against parent 5ef0b1be0093e35cabb262017f3ee49c7b308c82
patched libpurple/dnssrv.c
-------------- next part --------------
============================================================
--- libpurple/dnssrv.c 3c322cf1d666750eda746b6cd1a95033e2fd32d2
+++ libpurple/dnssrv.c f292ed32e65cbfc5dae6d1765aab96ce0f01309f
@@ -730,7 +730,7 @@ purple_srv_resolve_account(PurpleAccount
purple_debug_info("dnssrv","querying SRV record for %s: %s\n", domain,
query);
g_free(hostname);
-
+
query_data = g_new0(PurpleSrvTxtQueryData, 1);
query_data->type = PurpleDnsTypeSrv;
query_data->cb.srv = cb;
@@ -738,7 +738,7 @@ purple_srv_resolve_account(PurpleAccount
query_data->query = query;
query_data->fd_in = -1;
query_data->fd_out = -1;
-
+
if (purple_srv_txt_query_ui_resolve(query_data))
{
return query_data;
@@ -864,7 +864,7 @@ PurpleSrvTxtQueryData *purple_txt_resolv
purple_debug_info("dnssrv","querying TXT record for %s: %s\n", domain,
query);
g_free(hostname);
-
+
query_data = g_new0(PurpleSrvTxtQueryData, 1);
query_data->type = PurpleDnsTypeTxt;
query_data->cb.txt = cb;
@@ -872,7 +872,7 @@ PurpleSrvTxtQueryData *purple_txt_resolv
query_data->query = query;
query_data->fd_in = -1;
query_data->fd_out = -1;
-
+
if (purple_srv_txt_query_ui_resolve(query_data)) {
/* query intentionally not freed
*/
@@ -915,7 +915,7 @@ PurpleSrvTxtQueryData *purple_txt_resolv
if (write(in[1], &internal_query, sizeof(internal_query)) < 0)
purple_debug_error("dnssrv", "Could not write to TXT resolver\n");
-
+
query_data->pid = pid;
query_data->fd_out = out[0];
query_data->fd_in = in[1];
@@ -959,7 +959,7 @@ purple_srv_txt_query_destroy(PurpleSrvTx
if (ops && ops->destroy)
ops->destroy(query_data);
-
+
if (query_data->handle > 0)
purple_input_remove(query_data->handle);
#ifdef _WIN32
@@ -1045,9 +1045,9 @@ purple_srv_query_resolved(PurpleSrvTxtQu
}
query_data->cb.srv(records_array, i, query_data->extradata);
-
+
purple_srv_txt_query_destroy(query_data);
-
+
g_list_foreach(sorted_records, (GFunc)g_free, NULL);
g_list_free(sorted_records);
}
@@ -1070,7 +1070,7 @@ purple_txt_query_resolved(PurpleSrvTxtQu
g_list_foreach(entries, (GFunc)g_free, NULL);
g_list_free(entries);
}
-
+
purple_srv_txt_query_destroy(query_data);
}
@@ -1078,10 +1078,10 @@ purple_srv_query_failed(PurpleSrvTxtQuer
purple_srv_query_failed(PurpleSrvTxtQueryData *query_data, const gchar *error_message)
{
purple_debug_error("dnssrv", "%s\n", error_message);
-
+
if (query_data->cb.srv != NULL)
query_data->cb.srv(NULL, 0, query_data->extradata);
-
+
purple_srv_txt_query_destroy(query_data);
}
@@ -1115,7 +1115,7 @@ purple_srv_txt_query_get_query(PurpleSrv
purple_srv_txt_query_get_query(PurpleSrvTxtQueryData *query_data)
{
g_return_val_if_fail(query_data != NULL, NULL);
-
+
return query_data->query;
}
@@ -1124,6 +1124,6 @@ purple_srv_txt_query_get_type(PurpleSrvT
purple_srv_txt_query_get_type(PurpleSrvTxtQueryData *query_data)
{
g_return_val_if_fail(query_data != NULL, 0);
-
+
return query_data->type;
}
More information about the Commits
mailing list