From 7cfb852b1889d69974e140e794ed713c0e96675c Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 26 Jan 2024 15:22:47 +0000 Subject: [PATCH] reformat git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@94 d27a3e52-49c5-7645-884c-6793ebffc270 --- Library/HTTP.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 , -- 2.43.0