aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-import-pidgin.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/empathy-import-pidgin.c b/src/empathy-import-pidgin.c
index 5c8221ce7..6a145ff93 100644
--- a/src/empathy-import-pidgin.c
+++ b/src/empathy-import-pidgin.c
@@ -209,12 +209,12 @@ empathy_import_pidgin_load (void)
if (g_str_has_prefix (protocol, "prpl-"))
protocol += 5;
- data->protocol = g_strdup (protocol);
-
- if (!tp_strdiff (data->protocol, PIDGIN_PROTOCOL_BONJOUR))
- data->protocol = "salut";
- else if (!tp_strdiff (data->protocol, PIDGIN_PROTOCOL_NOVELL))
- data->protocol = "groupwise";
+ if (!tp_strdiff (protocol, PIDGIN_PROTOCOL_BONJOUR))
+ data->protocol = g_strdup ("salut");
+ else if (!tp_strdiff (protocol, PIDGIN_PROTOCOL_NOVELL))
+ data->protocol = g_strdup ("groupwise");
+ else
+ data->protocol = g_strdup (protocol);
xmlFree (content);