From: nishi Date: Fri, 26 Jan 2024 04:44:30 +0000 (+0000) Subject: fix X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=6d9cb0cfc596394a3b94cf3e917a099e76ed3701;p=libw3.git fix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@83 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Example/W3B/w3b.c b/Example/W3B/w3b.c index e24c407..258b0a8 100644 --- a/Example/W3B/w3b.c +++ b/Example/W3B/w3b.c @@ -30,8 +30,12 @@ void access_site(const char* url) { W3_On(w3, "data", (void*)data_handler); W3_Send_Request(w3); W3_Free(w3); + }else{ + fprintf(stderr, "Failed to connect\n"); } W3_Free_URL(u); + }else{ + fprintf(stderr, "Failed to parse\n"); } }