From abd278a53734dc94bc8000f8a6af2c58e6fdb210 Mon Sep 17 00:00:00 2001 From: nishi Date: Mon, 22 Jan 2024 02:58:39 +0000 Subject: [PATCH] fixed fetch git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@47 d27a3e52-49c5-7645-884c-6793ebffc270 --- Example/fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.43.0