Skip to content
Snippets Groups Projects
Commit a0118fb3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

just re-indented some code

parent 57b6202e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment