summaryrefslogtreecommitdiffstats
path: root/lib/libftpio
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-02-14 18:40:31 +0000
committerstefanf <stefanf@FreeBSD.org>2005-02-14 18:40:31 +0000
commit90d46cdb2741882f1da07f896bf76acdd3d2db14 (patch)
tree07652fceaa3a8ae12c5a957ab79ef286194608d2 /lib/libftpio
parentcfcdd8544ac1d8597050f7acada3f5fb11e137a0 (diff)
downloadFreeBSD-src-90d46cdb2741882f1da07f896bf76acdd3d2db14.zip
FreeBSD-src-90d46cdb2741882f1da07f896bf76acdd3d2db14.tar.gz
Fix typo.
Submitted by: Antoine Brodin
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