Mercurial > pidgin.yaz
comparison src/list.c @ 2536:0e0a54e5819a
[gaim-migrate @ 2549]
I got an itty bitty diff for you now ;-)
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 18 Oct 2001 12:12:38 +0000 |
parents | 413a81136e3a |
children | 20418e5702eb |
comparison
equal
deleted
inserted
replaced
2535:b44fc148c1c7 | 2536:0e0a54e5819a |
---|---|
485 | 485 |
486 return new; | 486 return new; |
487 } | 487 } |
488 | 488 |
489 | 489 |
490 /* translate an AIM 3 buddylist (*.lst) to a GAIM buddylist */ | 490 /* translate an AIM 3 buddylist (*.lst) to a Gaim buddylist */ |
491 static void translate_lst(FILE *src_fp, char *dest) | 491 static void translate_lst(FILE *src_fp, char *dest) |
492 { | 492 { |
493 char line[BUF_LEN], *line2; | 493 char line[BUF_LEN], *line2; |
494 char *name; | 494 char *name; |
495 int i; | 495 int i; |
518 | 518 |
519 return; | 519 return; |
520 } | 520 } |
521 | 521 |
522 | 522 |
523 /* translate an AIM 4 buddylist (*.blt) to GAIM format */ | 523 /* translate an AIM 4 buddylist (*.blt) to Gaim format */ |
524 static void translate_blt(FILE *src_fp, char *dest) | 524 static void translate_blt(FILE *src_fp, char *dest) |
525 { | 525 { |
526 int i; | 526 int i; |
527 char line[BUF_LEN]; | 527 char line[BUF_LEN]; |
528 char *buddy; | 528 char *buddy; |
706 debug_printf("%s\n", buf); | 706 debug_printf("%s\n", buf); |
707 buf2 = buf; | 707 buf2 = buf; |
708 buf = g_malloc(8193); | 708 buf = g_malloc(8193); |
709 g_snprintf(buf, 8192, "toc_set_config {%s}\n", buf2); | 709 g_snprintf(buf, 8192, "toc_set_config {%s}\n", buf2); |
710 g_free(buf2); | 710 g_free(buf2); |
711 /* GAIM buddy list - no translation */ | 711 /* Gaim buddy list - no translation */ |
712 } else if (first[0] == 'm') { | 712 } else if (first[0] == 'm') { |
713 rewind(f); | 713 rewind(f); |
714 len = fread(buf, 1, BUF_LONG * 2, f); | 714 len = fread(buf, 1, BUF_LONG * 2, f); |
715 buf[len] = '\0'; | 715 buf[len] = '\0'; |
716 buf2 = buf; | 716 buf2 = buf; |