diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2002-11-17 13:38:31 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2002-11-17 13:38:31 +0000 |
| commit | 15e9ef6643f578d9af4f228c077013bcb834e8c5 (patch) | |
| tree | 114895cf4caff4431183dbbe33bbeeee23d19c86 /libexec | |
| parent | a86c325011dcbd8d27a87127a5494b22a6ccb5b0 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ftpd/ftpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index e2e49aae2f63..703da7f72958 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -796,7 +796,7 @@ inithosts() hrp->hostname = NULL; insert = 1; } else { - if (hrp->hostinfo) + if (hrp->hostinfo && hrp->hostinfo != res) freeaddrinfo(hrp->hostinfo); insert = 0; /* host already in the chain */ } |
