From 7f712399d5338a2dd838a8bb16ca1548b491dfb3 Mon Sep 17 00:00:00 2001 From: Emanuele Torre Date: Thu, 27 Apr 2023 19:01:28 +0200 Subject: checksrc: check for spaces before the colon of switch labels Closes #11047 --- lib/urlapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/urlapi.c') 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++; -- cgit v1.2.1