diff options
author | Michael Vogt <mvo@debian.org> | 2015-08-14 19:44:25 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2015-08-14 19:44:25 +0200 |
commit | f8043f219f077b1cfc6c5ad2263c4caa4709a00d (patch) | |
tree | 3f3d59ba0b1e76065869342f7ff0df141ba08d76 /methods | |
parent | f66738d7fb8978eaa30a179ae4f3bcc4ca7aa58f (diff) |
Make apt compile with clang++ again
This allows us to run the clang static analyzer and to run the
testsuite with the clang MemorySanitizer.
Diffstat (limited to 'methods')
-rw-r--r-- | methods/ftp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc index 5fee20f23..1a9a1c4eb 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -745,7 +745,7 @@ bool FTPConn::CreateDataFd() } // Bind and listen - if (bind(DataListenFd,BindAddr->ai_addr,BindAddr->ai_addrlen) < 0) + if (::bind(DataListenFd,BindAddr->ai_addr,BindAddr->ai_addrlen) < 0) { freeaddrinfo(BindAddr); return _error->Errno("bind",_("Could not bind a socket")); |