mirror of https://git.ffmpeg.org/ffmpeg.git
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
|
@ -32,7 +32,7 @@ Section "Install"
|
||||||
File ".\ffplay.exe"
|
File ".\ffplay.exe"
|
||||||
File ".\COPYING"
|
File ".\COPYING"
|
||||||
File ".\CREDITS"
|
File ".\CREDITS"
|
||||||
|
|
||||||
; documentation
|
; documentation
|
||||||
SetOutPath $INSTDIR\doc
|
SetOutPath $INSTDIR\doc
|
||||||
File ".\doc\faq.html"
|
File ".\doc\faq.html"
|
||||||
|
@ -58,7 +58,7 @@ Section Uninstall
|
||||||
Delete "$INSTDIR\ffplay.exe"
|
Delete "$INSTDIR\ffplay.exe"
|
||||||
Delete "$INSTDIR\COPYING"
|
Delete "$INSTDIR\COPYING"
|
||||||
Delete "$INSTDIR\CREDITS"
|
Delete "$INSTDIR\CREDITS"
|
||||||
|
|
||||||
; delete documentation
|
; delete documentation
|
||||||
Delete "$INSTDIR\doc\faq.html"
|
Delete "$INSTDIR\doc\faq.html"
|
||||||
Delete "$INSTDIR\ffmpeg-doc.html"
|
Delete "$INSTDIR\ffmpeg-doc.html"
|
||||||
|
|
|
@ -4281,7 +4281,7 @@ static int parse_ffconfig(const char *filename)
|
||||||
}
|
}
|
||||||
|
|
||||||
get_arg(arg, sizeof(arg), &p);
|
get_arg(arg, sizeof(arg), &p);
|
||||||
|
|
||||||
if (resolve_host(&acl.first, arg) != 0) {
|
if (resolve_host(&acl.first, arg) != 0) {
|
||||||
fprintf(stderr, "%s:%d: ACL refers to invalid host or ip address '%s'\n",
|
fprintf(stderr, "%s:%d: ACL refers to invalid host or ip address '%s'\n",
|
||||||
filename, line_num, arg);
|
filename, line_num, arg);
|
||||||
|
|
|
@ -105,12 +105,12 @@ done:
|
||||||
int resolve_host(struct in_addr *sin_addr, const char *hostname)
|
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…
Reference in New Issue