Mercurial > libavformat.hg
diff tcp.c @ 1810:d85795da84ab libavformat
change PF_INET to AF_INET to be consistent in the whole project. PF_INET is deprecated, while AF_INET is referred by the POSIX standards
author | alex |
---|---|
date | Thu, 22 Feb 2007 13:34:36 +0000 |
parents | eb16c64144ee |
children | b6b8a9836cf9 |
line wrap: on
line diff
--- a/tcp.c Thu Feb 22 13:23:38 2007 +0000 +++ b/tcp.c Thu Feb 22 13:34:36 2007 +0000 @@ -73,7 +73,7 @@ if (resolve_host(&dest_addr.sin_addr, hostname) < 0) goto fail; - fd = socket(PF_INET, SOCK_STREAM, 0); + fd = socket(AF_INET, SOCK_STREAM, 0); if (fd < 0) goto fail; fcntl(fd, F_SETFL, O_NONBLOCK);