From: nishi Date: Fri, 26 Jan 2024 15:22:47 +0000 (+0000) Subject: reformat X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=7cfb852b1889d69974e140e794ed713c0e96675c;p=libw3.git reformat git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@94 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Library/HTTP.c b/Library/HTTP.c index 13d3405..c11cd95 100644 --- a/Library/HTTP.c +++ b/Library/HTTP.c @@ -2,9 +2,9 @@ #include "W3HTTP.h" #include "W3Core.h" +#include "W3DNS.h" #include "W3URL.h" #include "W3Util.h" -#include "W3DNS.h" #include #include @@ -272,7 +272,7 @@ void __W3_HTTP_Request(struct W3* w3) { W3_Set_Path(w3, u->path); w3->port = u->port; W3_Free_URL(u); - }else if(redir[0] == '/'){ + } else if(redir[0] == '/') { w3->sock = __W3_DNS_Connect(w3->hostname, strcmp(w3->protocol, "https") == 0 ? true : false, w3->port #ifdef SSL_SUPPORT ,