From: nishi Date: Mon, 22 Jan 2024 02:58:39 +0000 (+0000) Subject: fixed fetch X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=abd278a53734dc94bc8000f8a6af2c58e6fdb210;p=libw3.git fixed fetch git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@47 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Example/fetch.c b/Example/fetch.c index c0a4698..11b2e46 100644 --- a/Example/fetch.c +++ b/Example/fetch.c @@ -36,7 +36,7 @@ int main(int argc, char** argv){ return 1; } W3_Library_Init(); - struct W3* w3 = W3_Create("file", argv[1], 80); + struct W3* w3 = W3_Create("http", argv[1], 80); if(w3 != NULL){ W3_Set_Method(w3, argv[3] == NULL ? "GET" : argv[3]); W3_Set_Path(w3, argv[2]);