comparison libgaim/util.c @ 14321:611ca4e7b429

[gaim-migrate @ 17016] this ought to fix debian bug 384463 committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 24 Aug 2006 17:01:05 +0000
parents 60b1bc8dbf37
children cf8d25072151
comparison
equal deleted inserted replaced
14320:01f13d2e73de 14321:611ca4e7b429
1851 break; 1851 break;
1852 } 1852 }
1853 t++; 1853 t++;
1854 } 1854 }
1855 } 1855 }
1856 } else if (!g_ascii_strncasecmp(c, "ftp://", 6)) { 1856 } else if (!g_ascii_strncasecmp(c, "ftp://", 6) || !g_ascii_strncasecmp(c, "sftp://", 7)) {
1857 t = c; 1857 t = c;
1858 while (1) { 1858 while (1) {
1859 if (badchar(*t) || badentity(t)) { 1859 if (badchar(*t) || badentity(t)) {
1860 if (*(t - 1) == '.') 1860 if (*(t - 1) == '.')
1861 t--; 1861 t--;