Update cgitelnet.c

pull/205/head
Alex 8 years ago committed by GitHub
parent 8cd915ff6b
commit 1da3ce7ac9
  1. 2
      esp-link/cgitelnet.c

@ -14,7 +14,7 @@ int ICACHE_FLASH_ATTR cgiTelnetGet(HttpdConnData *connData) {
flashConfig.telnet_port1, flashConfig.telnet_port2); flashConfig.telnet_port1, flashConfig.telnet_port2);
len = os_sprintf(buff, len = os_sprintf(buff,
"{ \"telnet-port1\" \":%d\", \"telnet-port2\": \"%d\" }", "{ \"telnet-port1\": \"%d\", \"telnet-port2\": \"%d\" }",
flashConfig.telnet_port1, flashConfig.telnet_port2); flashConfig.telnet_port1, flashConfig.telnet_port2);
jsonHeader(connData, 200); jsonHeader(connData, 200);

Loading…
Cancel
Save