From ef9b2bc3efb9e48c6976b4be19d6f65c36f6b9ec Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 26 Jan 2024 12:29:05 +0000 Subject: [PATCH] format git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@91 d27a3e52-49c5-7645-884c-6793ebffc270 --- Library/HTTP.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 , -- 2.43.0