diff options
| author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-02-14 18:40:31 +0000 |
|---|---|---|
| committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-02-14 18:40:31 +0000 |
| commit | 37df8bec5b67bab1eb184a4e5f04dea5a500be48 (patch) | |
| tree | 07652fceaa3a8ae12c5a957ab79ef286194608d2 /lib | |
| parent | 952a03767bb63cc394eadd9d5656a6f18cd2e881 (diff) | |
Notes
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 dd7f3945d632..f990d4ddac96 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); |
