Mercurial > pidgin
comparison libpurple/pounce.c @ 15420:6d8728fd3dda
Make sure the pounces, buddy-aliases, savedstatuses etc. saved before the aim/icq split works after the split. The util function _gaim_oscar_convert will be removed at a 'suitable' time in the future.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 26 Jan 2007 04:10:22 +0000 |
parents | 5fe8042783c1 |
children | 32c366eeeb99 |
comparison
equal
deleted
inserted
replaced
15419:b25a5eddff9c | 15420:6d8728fd3dda |
---|---|
401 buffer = g_string_free(data->buffer, FALSE); | 401 buffer = g_string_free(data->buffer, FALSE); |
402 data->buffer = NULL; | 402 data->buffer = NULL; |
403 } | 403 } |
404 | 404 |
405 if (!strcmp(element_name, "account")) { | 405 if (!strcmp(element_name, "account")) { |
406 char *tmp; | |
406 g_free(data->account_name); | 407 g_free(data->account_name); |
407 data->account_name = g_strdup(buffer); | 408 data->account_name = g_strdup(buffer); |
409 tmp = data->protocol_id; | |
410 data->protocol_id = g_strdup(_gaim_oscar_convert(buffer, tmp)); | |
411 g_free(tmp); | |
408 } | 412 } |
409 else if (!strcmp(element_name, "pouncee")) { | 413 else if (!strcmp(element_name, "pouncee")) { |
410 g_free(data->pouncee); | 414 g_free(data->pouncee); |
411 data->pouncee = g_strdup(buffer); | 415 data->pouncee = g_strdup(buffer); |
412 } | 416 } |