add URL support for news: and ed2k://

This commit is contained in:
Stas Degteff 2006-01-09 21:50:08 +00:00
parent 0e5ec2075f
commit b21658d21b

View File

@ -68,6 +68,10 @@ const char *url_begin(const char *ptr) {
return ptr+4;
if(strnieql(ptr, "mailto:", 7))
return ptr+7;
if(strnieql(ptr, "news:", 5))
return ptr+5;
if(strnieql(ptr, "ed2k://", 7))
return ptr+7;
return NULL;
}