X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fhtml2html.c;h=f24ca184dc554a2a54c059775eb1ff4fd85cfea3;hb=0d3e9dd6c1fdaf2ada4e76fe7491304d7877c0b3;hp=e77c2a13ed7c3dbc62a3e46cf5b64f1fba1b3a95;hpb=5d4b307e8bacec54c4d45cd0e99a709543e16b8d;p=citadel.git diff --git a/webcit/html2html.c b/webcit/html2html.c index e77c2a13e..f24ca184d 100644 --- a/webcit/html2html.c +++ b/webcit/html2html.c @@ -502,7 +502,7 @@ void UrlizeText(StrBuf* Target, StrBuf *Source, StrBuf *WrkBuf) for (pos = ChrPtr(Source); (pos < end) && (start == NULL); ++pos) { if (!strncasecmp(pos, "http://", 7)) start = pos; - if (!strncasecmp(pos, "ftp://", 6)) + else if (!strncasecmp(pos, "ftp://", 6)) start = pos; }