pidgin.vv: 6c5c6e04: Removed some extra tabs on blank lines
malu at pidgin.im
malu at pidgin.im
Fri Jan 23 01:28:04 EST 2009
-----------------------------------------------------------------
Revision: 6c5c6e049b93bc124a30656bb2700b0cf63c9244
Ancestor: 5740223b7b01ab4a58b2fb0d8de5f4ab6353ba78
Author: malu at pidgin.im
Date: 2009-01-23T06:20:16
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/6c5c6e049b93bc124a30656bb2700b0cf63c9244
Modified files:
libpurple/media.c libpurple/network.c
ChangeLog:
Removed some extra tabs on blank lines
-------------- next part --------------
============================================================
--- libpurple/media.c 99cf6ccdfc053a9feaef4161563d26f01855f855
+++ libpurple/media.c c7a15f38378f926fe03a914326a2e9760cb8373d
@@ -1623,7 +1623,7 @@ purple_media_add_stream_internal(PurpleM
FsStream *fsstream = NULL;
const gchar *stun_ip = purple_network_get_stun_ip();
const gchar *turn_ip = purple_network_get_turn_ip();
-
+
if (stun_ip || turn_ip) {
guint new_num_params =
stun_ip && turn_ip ? num_params + 2 : num_params + 1;
@@ -1634,13 +1634,13 @@ purple_media_add_stream_internal(PurpleM
if (stun_ip) {
purple_debug_info("media",
"setting property stun-ip on new stream: %s\n", stun_ip);
-
+
param[next_param_index].name = "stun-ip";
g_value_init(¶m[next_param_index].value, G_TYPE_STRING);
g_value_set_string(¶m[next_param_index].value, stun_ip);
next_param_index++;
}
-
+
if (turn_ip) {
GValueArray *relay_info = g_value_array_new(0);
GValue value = {0};
@@ -1662,7 +1662,7 @@ purple_media_add_stream_internal(PurpleM
gst_value_set_structure(&value, turn_setup);
relay_info = g_value_array_append(relay_info, &value);
gst_structure_free(turn_setup);
-
+
purple_debug_info("media",
"setting property relay-info on new stream\n");
param[next_param_index].name = "relay-info";
@@ -1679,9 +1679,8 @@ purple_media_add_stream_internal(PurpleM
g_free(session);
return FALSE;
}
-
}
-
+
fsstream = fs_session_new_stream(session->session,
participant, type_direction &
FS_DIRECTION_RECV, transmitter,
============================================================
--- libpurple/network.c 717ca0e2cc94afe0a0312fc689d86da48f8eb29c
+++ libpurple/network.c eb8d0641366cb85aadad7909b11a835081931de9
@@ -764,14 +764,14 @@ purple_network_ip_lookup_cb(GSList *host
const char *error_message)
{
const gchar **ip = (const gchar **) data;
-
+
if (error_message) {
purple_debug_error("network", "lookup of IP address failed: %s\n",
error_message);
g_slist_free(hosts);
return;
}
-
+
if (hosts && g_slist_next(hosts)) {
size_t addr_len = (size_t) hosts->data;
struct sockaddr *addr = g_slist_next(hosts)->data;
@@ -784,7 +784,7 @@ purple_network_ip_lookup_cb(GSList *host
inet_ntop(addr->sa_family, &((struct sockaddr_in *) addr)->sin_addr,
dst, sizeof(dst));
}
-
+
*ip = g_strdup(dst);
purple_debug_info("network", "set IP address: %s\n", *ip);
}
More information about the Commits
mailing list