summaryrefslogtreecommitdiff
path: root/lib/urlapi.c
diff options
context:
space:
mode:
authorEmanuele Torre <torreemanuele6@gmail.com>2023-04-27 19:01:28 +0200
committerDaniel Stenberg <daniel@haxx.se>2023-04-27 23:26:50 +0200
commit7f712399d5338a2dd838a8bb16ca1548b491dfb3 (patch)
treea8d7f5e8c2eb84a53976527af1067e5370187592 /lib/urlapi.c
parent5cdff4f5a92797ce49a3cd01e27388cce35aab7a (diff)
downloadcurl-7f712399d5338a2dd838a8bb16ca1548b491dfb3.tar.gz
checksrc: check for spaces before the colon of switch labels
Closes #11047
Diffstat (limited to 'lib/urlapi.c')
-rw-r--r--lib/urlapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urlapi.c b/lib/urlapi.c
index 8b95107d2..83e4ceda3 100644
--- a/lib/urlapi.c
+++ b/lib/urlapi.c
@@ -679,7 +679,7 @@ static int ipv4_normalize(struct dynbuf *host)
c = endp;
switch(*c) {
- case '.' :
+ case '.':
if(n == 3)
return HOST_BAD;
n++;