Update cgitelnet.c

Changed function for unsigned integers.
pull/205/head
Alex 8 years ago committed by GitHub
parent 67a05de430
commit 1cf190a1c3
  1. 6
      esp-link/cgitelnet.c

@ -26,9 +26,9 @@ int ICACHE_FLASH_ATTR cgiTelnetSet(HttpdConnData *connData) {
} }
int8_t ok = 0; int8_t ok = 0;
int8_t port1, port2; uint8_t port1, port2;
ok |= getInt8Arg(connData, "port1", &port1); ok |= getUInt8Arg(connData, "port1", &port1);
ok |= getInt8Arg(connData, "port2", &port2); ok |= getUInt8Arg(connData, "port2", &port2);
if (ok < 0) return HTTPD_CGI_DONE; if (ok < 0) return HTTPD_CGI_DONE;
char *coll; char *coll;

Loading…
Cancel
Save