mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 05:06:44 +00:00
Fix variable type cast
This commit is contained in:
parent
c26a86e9ad
commit
dd7699f340
@ -87,9 +87,10 @@ void telnetAcceptClient()
|
|||||||
Log.notice(TAG_TELN, F("Client connected"));
|
Log.notice(TAG_TELN, F("Client connected"));
|
||||||
|
|
||||||
/* Avoid a buffer here */
|
/* Avoid a buffer here */
|
||||||
telnetClient.print(0xFF); // DO TERMINAL-TYPE
|
telnetClient.print((char)0xFF); // DO TERMINAL-TYPE
|
||||||
telnetClient.print(0xFD);
|
telnetClient.print((char)0xFD);
|
||||||
telnetClient.print(0x1B);
|
telnetClient.print((char)0x1B);
|
||||||
|
|
||||||
#if HASP_USE_HTTP > 0
|
#if HASP_USE_HTTP > 0
|
||||||
if(strlen(httpUser) != 0 || strlen(httpPassword) != 0) {
|
if(strlen(httpUser) != 0 || strlen(httpPassword) != 0) {
|
||||||
telnetClient.print(F("\r\nUsername: "));
|
telnetClient.print(F("\r\nUsername: "));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user