diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-02-14 18:40:31 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-02-14 18:40:31 +0000 |
commit | 90d46cdb2741882f1da07f896bf76acdd3d2db14 (patch) | |
tree | 07652fceaa3a8ae12c5a957ab79ef286194608d2 /lib | |
parent | cfcdd8544ac1d8597050f7acada3f5fb11e137a0 (diff) | |
download | FreeBSD-src-90d46cdb2741882f1da07f896bf76acdd3d2db14.zip FreeBSD-src-90d46cdb2741882f1da07f896bf76acdd3d2db14.tar.gz |
Fix typo.
Submitted by: Antoine Brodin
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libftpio/ftpio.c | 2 |
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); |