Browse Source

Fix return value for _telnetWrite

webui
Xose Pérez 6 years ago
parent
commit
e9644229a1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/telnet.ino

+ 1
- 1
code/espurna/telnet.ino View File

@ -69,7 +69,7 @@ unsigned char _telnetWrite(void *data, size_t len) {
} }
bool _telnetWrite(unsigned char clientId, const char * message) { bool _telnetWrite(unsigned char clientId, const char * message) {
_telnetWrite(clientId, (void *) message, strlen(message));
return _telnetWrite(clientId, (void *) message, strlen(message));
} }
void _telnetData(unsigned char clientId, void *data, size_t len) { void _telnetData(unsigned char clientId, void *data, size_t len) {


Loading…
Cancel
Save