From: Christos Tsantilas Date: Thu, 12 Dec 2013 18:27:34 +0000 (+0200) Subject: Ftp server host does not reset when a new USER command given X-Git-Tag: SQUID_3_5_0_1~117^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c50d371d1233693608351eee755b9064a03af30;p=thirdparty%2Fsquid.git Ftp server host does not reset when a new USER command given --- diff --git a/src/client_side.cc b/src/client_side.cc index a6c8f35c57..4fc2920a24 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -5869,8 +5869,7 @@ FtpHandleUserRequest(ConnStateData *connState, const String &cmd, String ¶ms connState->ftp.host = ipBuf; } } - if (connState->ftp.host.size() == 0) - connState->ftp.host = host; + connState->ftp.host = host; String oldUri; if (connState->ftp.readGreeting)