]> Nishi Git Mirror - libw3.git/commitdiff
fixing w3b
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Fri, 16 Feb 2024 05:26:08 +0000 (05:26 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Fri, 16 Feb 2024 05:26:08 +0000 (05:26 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@233 d27a3e52-49c5-7645-884c-6793ebffc270

Example/w3b/w3b.c

index 58c20d92fd2740afc2e5771cb4560604fdf87c50..9a7f8d95b444f89ef3a568b52ad28c9bbd3b0715 100644 (file)
@@ -136,8 +136,6 @@ void nntpresp_handler(struct W3* w3, int status, char* data){
                W3_Set_Method(w3, "HEAD");
                W3_NNTP_Send_Request(w3);
        }else if(status == 221){
-               printf("%s\n", data);
-               exit(0);
                W3_Set_Method(w3, "NEXT");
                W3_NNTP_Send_Request(w3);
        }else{