From ee9a79fb589772534c7d03ceffa40bcd06b9f6e1 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 24 Jan 2006 12:58:42 +0000 Subject: [PATCH] cleanup in constructor --- src/ftp.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ftp.cc b/src/ftp.cc index 4e6533d9f7..ec14c2c314 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.377 2006/01/24 05:54:39 wessels Exp $ + * $Id: ftp.cc,v 1.378 2006/01/24 05:58:42 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -370,14 +370,13 @@ FtpStateData::FtpStateData(FwdState *theFwdState) { request = theFwdState->request; entry = theFwdState->entry; + storeLockObject(entry); fwd = theFwdState; const char *url = storeUrl(entry); debug(9, 3) ("ftpStart: '%s'\n", url); statCounter.server.all.requests++; statCounter.server.ftp.requests++; - storeLockObject(entry); - entry = entry; request = requestLink(request); ctrl.fd = theFwdState->server_fd; data.fd = -1; -- 2.47.3