summaryrefslogtreecommitdiffstats
path: root/cpukit/ftpd
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-10 08:56:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-10 08:56:46 +0000
commitea78ecadc96ac4da60e70a7d7c34e5a48e2bcb83 (patch)
tree70b7f8dafcc97f436c2345f609bd946366dee7d8 /cpukit/ftpd
parent94c76bc7306db7ebb78d80e18c102de8c48d24e8 (diff)
downloadrtems-ea78ecadc96ac4da60e70a7d7c34e5a48e2bcb83.tar.bz2
socklen_t.
Diffstat (limited to 'cpukit/ftpd')
-rw-r--r--cpukit/ftpd/ftpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c
index e6e2c683d9..c4562dbf45 100644
--- a/cpukit/ftpd/ftpd.c
+++ b/cpukit/ftpd/ftpd.c
@@ -1496,7 +1496,7 @@ command_pasv(FTPD_SessionInfo_t *info)
else
{
struct sockaddr_in addr;
- int addrLen = sizeof(addr);
+ socklen_t addrLen = sizeof(addr);
addr = info->ctrl_addr;
addr.sin_port = htons(0);
@@ -1900,7 +1900,7 @@ static void
daemon()
{
int s;
- int addrLen;
+ socklen_t addrLen;
struct sockaddr_in addr;
FTPD_SessionInfo_t *info = NULL;