From 96ee15a760658169786ed9ff468f599515601c48 Mon Sep 17 00:00:00 2001 From: nishi Date: Wed, 24 Jan 2024 09:56:14 +0000 Subject: [PATCH] fix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@55 d27a3e52-49c5-7645-884c-6793ebffc270 --- Example/fetch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Example/fetch.c b/Example/fetch.c index 5311ced..2d0b42d 100644 --- a/Example/fetch.c +++ b/Example/fetch.c @@ -36,9 +36,9 @@ int main(int argc, char** argv){ return 1; } W3_Library_Init(); - struct W3* w3 = W3_Create("https", argv[1], 443); + struct W3* w3 = W3_Create("http", argv[1], 80); if(w3 != NULL){ - W3_Set_Read_Size(w3, 1024 * 1024); + W3_Set_Read_Size(w3, 1024); W3_Set_Method(w3, argv[3] == NULL ? "GET" : argv[3]); W3_Set_Path(w3, argv[2]); W3_On(w3, "status", (void*)status); -- 2.43.0