From 89bc8a8876a94d840aa034afb8905d4735b3af7e Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Wed, 19 Apr 2000 18:33:09 +0000 Subject: [PATCH] formatting, no functional change --- lib/dns/gen.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/dns/gen.c b/lib/dns/gen.c index 750e06259e..8548c17043 100644 --- a/lib/dns/gen.c +++ b/lib/dns/gen.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: gen.c,v 1.37 2000/04/19 18:32:26 explorer Exp $ */ +/* $Id: gen.c,v 1.38 2000/04/19 18:33:09 explorer Exp $ */ #include @@ -163,10 +163,8 @@ upper(char *s) { b = buf[buf_to_use]; memset(b, 0, 256); - while ((c = (*s++) & 0xff)) { - + while ((c = (*s++) & 0xff)) *b++ = islower(c) ? toupper(c) : c; - } *b = '\0'; return (buf[buf_to_use]); }