]> Nishi Git Mirror - libw3.git/commitdiff
fix
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Fri, 26 Jan 2024 04:44:30 +0000 (04:44 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Fri, 26 Jan 2024 04:44:30 +0000 (04:44 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@83 d27a3e52-49c5-7645-884c-6793ebffc270

Example/W3B/w3b.c

index e24c407a6598ea6eaa75b26b6d42ef3bc13bbd64..258b0a8b003143e2da61c96289e029deaed47c08 100644 (file)
@@ -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");
        }
 }