From: Daniel Stenberg Date: Sun, 5 Oct 2003 15:03:21 +0000 (+0000) Subject: just re-indented some code X-Git-Tag: curl-7_10_8~171 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0118fb39027cf29aaaf55d868b6561a462b3cac;p=thirdparty%2Fcurl.git just re-indented some code --- diff --git a/lib/hostip.c b/lib/hostip.c index 8b1e80d471..e82bbe10fc 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -812,11 +812,11 @@ static void hostcache_fixoffset(struct hostent *h, int offset) h->h_name=(char *)((long)h->h_name+offset); if(h->h_aliases) { /* only relocate aliases if there are any! */ - h->h_aliases=(char **)((long)h->h_aliases+offset); - while(h->h_aliases[i]) { - h->h_aliases[i]=(char *)((long)h->h_aliases[i]+offset); - i++; - } + h->h_aliases=(char **)((long)h->h_aliases+offset); + while(h->h_aliases[i]) { + h->h_aliases[i]=(char *)((long)h->h_aliases[i]+offset); + i++; + } } h->h_addr_list=(char **)((long)h->h_addr_list+offset);