Skip to content

Commit

Permalink
Merge pull request #67 from MrJake222/fix-banner
Browse files Browse the repository at this point in the history
Proper multi-line banner formatting, fixes #66
thanks a lot
  • Loading branch information
xreef authored Aug 26, 2024
2 parents 41cb655 + 605dbce commit f5e9cf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FtpServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ uint8_t FtpServer::handleFTP() {
void FtpServer::clientConnected()
{
DEBUG_PRINTLN( F(" Client connected!") );
client.print(F("220 --- ")); client.print(welcomeMessage); client.println(F(" ---"));
client.println(F("220 --- By Renzo Mischianti ---"));
client.print(F("220 -- Version ")); client.print(FTP_SERVER_VERSION); client.println(F(" --"));
client.print (F("220--- ")); client.print(welcomeMessage); client.println(F(" ---"));
client.println(F(" -- By Renzo Mischianti --"));
client.print (F("220 -- Version ")); client.print(FTP_SERVER_VERSION); client.println(F(" --"));
iCL = 0;
if (FtpServer::_callback) {
FtpServer::_callback(FTP_CONNECT, free(), capacity());
Expand Down

0 comments on commit f5e9cf9

Please sign in to comment.