From: nishi Date: Fri, 26 Jan 2024 12:29:05 +0000 (+0000) Subject: format X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=ef9b2bc3efb9e48c6976b4be19d6f65c36f6b9ec;p=libw3.git format git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@91 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Library/HTTP.c b/Library/HTTP.c index 5a7848c..b8103a4 100644 --- a/Library/HTTP.c +++ b/Library/HTTP.c @@ -2,8 +2,8 @@ #include "W3HTTP.h" #include "W3Core.h" -#include "W3Util.h" #include "W3URL.h" +#include "W3Util.h" #include #include @@ -254,10 +254,10 @@ void __W3_HTTP_Request(struct W3* w3) { free(buf); if(chunklen != NULL) free(chunklen); if(chunk != NULL) free(chunk); - if(redir != NULL && __W3_Have_Prop(w3, "HTTP_REDIRECT")){ + if(redir != NULL && __W3_Have_Prop(w3, "HTTP_REDIRECT")) { W3_Disconnect(w3); struct W3URL* u = W3_Parse_URL(redir); - if(u != NULL){ + if(u != NULL) { w3->sock = __W3_DNS_Connect(u->host, strcmp(u->protocol, "https") == 0 ? true : false, u->port #ifdef SSL_SUPPORT ,