socklen_t.

This commit is contained in:
Ralf Corsepius
2005-05-10 08:56:46 +00:00
parent 94c76bc730
commit ea78ecadc9
9 changed files with 13 additions and 12 deletions

View File

@@ -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;