Skip to content
Snippets Groups Projects
Commit fc16148b authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

helper functions

Rev: lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:1.3
parent a89f9b66
No related branches found
No related tags found
No related merge requests found
...@@ -25,8 +25,6 @@ object get_url(string url) ...@@ -25,8 +25,6 @@ object get_url(string url)
(port=80,sscanf(url,"%[^:/]/%s",host,query)) == 2 || (port=80,sscanf(url,"%[^:/]/%s",host,query)) == 2 ||
(host=url,query=""); (host=url,query="");
write("prot=%O host=%O port=%O query=%O\n",prot,host,port,query);
if (prot!="http") if (prot!="http")
error("Protocols.HTTP can't handle %O or any other protocol then HTTP\n", error("Protocols.HTTP can't handle %O or any other protocol then HTTP\n",
prot); prot);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment