From a01db3260db263dd6e9882b31f46a916ee939695 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 27 Oct 2016 17:33:12 -0500 Subject: [PATCH] Update cgitelnet.c Changed functions for unsigned 16bit integer. --- esp-link/cgitelnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp-link/cgitelnet.c b/esp-link/cgitelnet.c index aa4b963..7f8d3de 100644 --- a/esp-link/cgitelnet.c +++ b/esp-link/cgitelnet.c @@ -27,8 +27,8 @@ int ICACHE_FLASH_ATTR cgiTelnetSet(HttpdConnData *connData) { int8_t ok = 0; uint8_t port1, port2; - ok |= getUInt8Arg(connData, "port1", &port1); - ok |= getUInt8Arg(connData, "port2", &port2); + ok |= getUInt16Arg(connData, "port1", &port1); + ok |= getUInt16Arg(connData, "port2", &port2); if (ok < 0) return HTTPD_CGI_DONE; char *coll;