mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-08 00:40:21 +08:00
1 parent
2a0923c528
commit
c8cd4ff52b
1 file changed
+1
-1
@@ -557,7 +557,7 @@ static socklen_t rtems_ftpfs_create_address(
|
||||
unsigned short port
|
||||
)
|
||||
{
|
||||
memset(sa, sizeof(*sa), 0);
|
||||
memset(sa, 0, sizeof(*sa));
|
||||
|
||||
sa->sin_family = AF_INET;
|
||||
sa->sin_addr.s_addr = address;
|
||||
|
||||
Reference in new issue
Block a user