From: wessels <> Date: Tue, 24 Jan 2006 12:58:42 +0000 (+0000) Subject: cleanup in constructor X-Git-Tag: SQUID_3_0_PRE4~349 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee9a79fb589772534c7d03ceffa40bcd06b9f6e1;p=thirdparty%2Fsquid.git cleanup in constructor --- 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;