From dc3e7df1c99c2ee9dae06453adbb94fe9584bf75 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 8 Nov 2010 04:03:11 +0100 Subject: fix compiler warning --- lib/ssluse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ssluse.c') diff --git a/lib/ssluse.c b/lib/ssluse.c index 474bc9a33..d0eaadede 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -1049,7 +1049,7 @@ static int asn1_output(const ASN1_UTCTIME *tm, static int hostmatch(const char *hostname, const char *pattern) { - while(1) { + for(;;) { char c = *pattern++; if(c == '\0') -- cgit v1.2.3