comparison src/blist.c @ 8430:87bd4d4ff499

[gaim-migrate @ 9160] Various uselessness committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 12 Mar 2004 01:55:54 +0000
parents fec4c1fb2ac8
children 1a016d979ce0
comparison
equal deleted inserted replaced
8429:1b6c43246cf6 8430:87bd4d4ff499
1872 1872
1873 if ((first[0] == '\n') || (first[0] == '\r' && first[1] == '\n')) 1873 if ((first[0] == '\n') || (first[0] == '\r' && first[1] == '\n'))
1874 fgets(first, 64, f); 1874 fgets(first, 64, f);
1875 1875
1876 #if 0 1876 #if 0
1877 if (!g_strncasecmp(first, "<xml", strlen("<xml"))) { 1877 if (!g_ascii_strncasecmp(first, "<xml", strlen("<xml"))) {
1878 /* new gaim XML buddy list */ 1878 /* new gaim XML buddy list */
1879 gaim_blist_read(path); 1879 gaim_blist_read(path);
1880 1880
1881 /* We really don't need to bother doing stuf like translating AIM 3 buddy lists anymore */ 1881 /* We really don't need to bother doing stuf like translating AIM 3 buddy lists anymore */
1882 1882
1883 } else if (!g_strncasecmp(first, "Config {", strlen("Config {"))) { 1883 } else if (!g_ascii_strncasecmp(first, "Config {", strlen("Config {"))) {
1884 /* AIM 4 buddy list */ 1884 /* AIM 4 buddy list */
1885 gaim_debug(GAIM_DEBUG_MISC, "blist import", "aim 4\n"); 1885 gaim_debug(GAIM_DEBUG_MISC, "blist import", "aim 4\n");
1886 rewind(f); 1886 rewind(f);
1887 buf = translate_blt(f); 1887 buf = translate_blt(f);
1888 } else if (strstr(first, "group") != NULL) { 1888 } else if (strstr(first, "group") != NULL) {
1889 /* AIM 3 buddy list */ 1889 /* AIM 3 buddy list */
1890 gaim_debug(GAIM_DEBUG_MISC, "blist import", "aim 3\n"); 1890 gaim_debug(GAIM_DEBUG_MISC, "blist import", "aim 3\n");
1891 rewind(f); 1891 rewind(f);
1892 buf = translate_lst(f); 1892 buf = translate_lst(f);
1893 } else if (!g_strncasecmp(first, "[User]", strlen("[User]"))) { 1893 } else if (!g_ascii_strncasecmp(first, "[User]", strlen("[User]"))) {
1894 /* GnomeICU (hopefully) */ 1894 /* GnomeICU (hopefully) */
1895 gaim_debug(GAIM_DEBUG_MISC, "blist import", "gnomeicu\n"); 1895 gaim_debug(GAIM_DEBUG_MISC, "blist import", "gnomeicu\n");
1896 rewind(f); 1896 rewind(f);
1897 buf = translate_gnomeicu(f); 1897 buf = translate_gnomeicu(f);
1898 1898