cosmetics: Remove trailing whitespace and tabs.
Originally committed as revision 8838 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c23a470800
commit
4ee10633d2
@ -107,10 +107,10 @@ int resolve_host(struct in_addr *sin_addr, const char *hostname)
|
|||||||
struct hostent *hp;
|
struct hostent *hp;
|
||||||
|
|
||||||
if (!inet_aton(hostname, sin_addr)) {
|
if (!inet_aton(hostname, sin_addr)) {
|
||||||
hp = gethostbyname(hostname);
|
hp = gethostbyname(hostname);
|
||||||
if (!hp)
|
if (!hp)
|
||||||
return -1;
|
return -1;
|
||||||
memcpy(sin_addr, hp->h_addr, sizeof(struct in_addr));
|
memcpy(sin_addr, hp->h_addr, sizeof(struct in_addr));
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user