diff options
Diffstat (limited to 'src/DuetNG/DuetEthernet/Webserver.cpp')
-rw-r--r-- | src/DuetNG/DuetEthernet/Webserver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DuetNG/DuetEthernet/Webserver.cpp b/src/DuetNG/DuetEthernet/Webserver.cpp index 20c8c1e2..fa11a56a 100644 --- a/src/DuetNG/DuetEthernet/Webserver.cpp +++ b/src/DuetNG/DuetEthernet/Webserver.cpp @@ -1955,7 +1955,7 @@ void Webserver::FtpInterpreter::ConnectionEstablished() } // Is this a new connection on the data port? - NetworkTransaction *transaction = webserver->currentTransaction; + NetworkTransaction * const transaction = webserver->currentTransaction; if (transaction->GetLocalPort() != FTP_PORT) { if (state == waitingForPasvPort) @@ -2343,7 +2343,7 @@ void Webserver::FtpInterpreter::ProcessLine() SendReply(150, "Here comes the directory listing."); // send directory listing via data port - NetworkTransaction *dataTransaction = network->GetTransaction(); + NetworkTransaction * const dataTransaction = network->GetTransaction(); FileInfo fileInfo; if (platform->GetMassStorage()->FindFirst(currentDir, fileInfo)) |