aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-10-05 15:03:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-10-05 15:03:21 +0000
commita0118fb39027cf29aaaf55d868b6561a462b3cac (patch)
tree14cc57aacc36a26b7a0835918c3f16103f6ce731 /lib
parent57b6202eaaee82af17e0a64e643a8dbf7c3d9f9a (diff)
just re-indented some code
Diffstat (limited to 'lib')
-rw-r--r--lib/hostip.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 8b1e80d47..e82bbe10f 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);