summaryrefslogtreecommitdiffstats
path: root/lib/libftpio
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libftpio')
-rw-r--r--lib/libftpio/ftpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libftpio/ftpio.c b/lib/libftpio/ftpio.c
index dd7f394..f990d4d 100644
--- a/lib/libftpio/ftpio.c
+++ b/lib/libftpio/ftpio.c
@@ -959,7 +959,7 @@ ftp_file_op(FTP_t ftp, char *operation, char *file, FILE **fp, char *mode, off_t
close(s);
return FAILURE;
}
- sinline = sizeof sin;
+ sinlen = sizeof sin;
getsockname(s, (struct sockaddr *)&sin, &sinlen);
if (listen(s, 1) < 0) {
close(s);
OpenPOWER on IntegriCloud