diff options
-rw-r--r-- | src/ftplib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftplib.cpp b/src/ftplib.cpp index fb53364..94012ba 100644 --- a/src/ftplib.cpp +++ b/src/ftplib.cpp @@ -695,7 +695,7 @@ int ftplib::FtpOpenPort(netbuf *nControl, netbuf **nData, int mode, int dir, cha } sin.in.sin_port = 0; - if (bind(sData, &sin.sa, sizeof(sin)) == -1) + if (::bind(sData, &sin.sa, sizeof(sin)) == -1) { perror("bind"); close(sData); |