AxWin3 - More RichText work
[tpg/acess2.git] / Usermode / Applications / wget_src / main.c
index 69c9ab7..3410840 100644 (file)
@@ -84,6 +84,12 @@ int main(int argc, char *argv[])
                        continue ;
                }
 
+               if( proto != PROTO_HTTP ) {
+                       fprintf(stderr, "TODO: Support protocols other than HTTP\n");
+                       free(uri);
+                       continue ;
+               }
+
                rv = getaddrinfo(uri->Host, "http", NULL, &addrinfo);
                if( rv != 0 ) {
                        fprintf(stderr, "Unable to resolve %s: %s\n", uri->Host, gai_strerror(rv));

UCC git Repository :: git.ucc.asn.au