[TELNET] Add missing curly braces to while-statement
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 28 Apr 2019 15:20:02 +0000 (17:20 +0200)
committerHervé Poussineau <hpoussin@reactos.org>
Mon, 27 May 2019 11:54:08 +0000 (13:54 +0200)
commit454745e48ca3b583e9d6e1e70a9be418f490a88d
treed3ebf339e1f352cbe21bdee5283b6a982b59c811
parentfdf221cb175fc12c6784bd4e9fbda64d69dbb11b
[TELNET] Add missing curly braces to while-statement

Fixes GCC 8 warning:
base/applications/network/telnet/src/tmapldr.cpp:70:3: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
   while (buf[len])
   ^~~~~
base/applications/network/telnet/src/tmapldr.cpp:74:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
    if (len && (buf[len-1] == ' ')) {
    ^~
base/applications/network/telnet/src/tmapldr.cpp