From e9644229a117cb676852604a2bef26373a27d3f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Wed, 12 Sep 2018 21:13:07 +0200 Subject: [PATCH] Fix return value for _telnetWrite --- code/espurna/telnet.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/telnet.ino b/code/espurna/telnet.ino index 87811874..3b2e6338 100644 --- a/code/espurna/telnet.ino +++ b/code/espurna/telnet.ino @@ -69,7 +69,7 @@ unsigned char _telnetWrite(void *data, size_t len) { } 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) {