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

Example/W3B/w3b.c

index ec32d2085d75cf7f04a6a6eac26f116159394cb5..7ff50581efe0d7ca05b6a218bfb4c326be2e8bca 100644 (file)
@@ -50,6 +50,7 @@ void access_site(const char* url) {
                        W3_On(w3, "data", (void*)data_handler);
                        W3_Send_Request(w3);
                        W3_Free(w3);
+                       printf("%d bytes\n", datalen);
                }else{
                        fprintf(stderr, "Failed to connect\n");
                }