diff --git a/code/src/server_main.cpp b/code/src/server_main.cpp index bffe56d9..b84d782c 100644 --- a/code/src/server_main.cpp +++ b/code/src/server_main.cpp @@ -220,7 +220,7 @@ esp_err_t sysinfo_handler(httpd_req_t *req) ESP_ERROR_CHECK(tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, &ip_info)); const char *hostname; ESP_ERROR_CHECK(tcpip_adapter_get_hostname(TCPIP_ADAPTER_IF_STA, &hostname)); - + zw = "[\ {\ \"firmware\" : \"" + gitversion + "\",\ diff --git a/code/src/version.cpp b/code/src/version.cpp index 4682ac42..79a4a0de 100644 --- a/code/src/version.cpp +++ b/code/src/version.cpp @@ -1,4 +1,4 @@ -const char* GIT_REV="964486a+"; +const char* GIT_REV="5d2e22c+"; const char* GIT_TAG=""; const char* GIT_BRANCH="rolling"; -const char* BUILD_TIME="2020-09-29 01:57"; \ No newline at end of file +const char* BUILD_TIME="2020-09-29 02:43"; \ No newline at end of file diff --git a/code/src/version.h b/code/src/version.h index 9b1bdf5a..4c2c3d07 100644 --- a/code/src/version.h +++ b/code/src/version.h @@ -56,6 +56,7 @@ std::string getHTMLversion(void){ char zw[1024]; fgets(zw, 1024, pFile); line = std::string(trim(zw)); + fclose(pFile); return line; } \ No newline at end of file diff --git a/code/version.cpp b/code/version.cpp index 4682ac42..79a4a0de 100644 --- a/code/version.cpp +++ b/code/version.cpp @@ -1,4 +1,4 @@ -const char* GIT_REV="964486a+"; +const char* GIT_REV="5d2e22c+"; const char* GIT_TAG=""; const char* GIT_BRANCH="rolling"; -const char* BUILD_TIME="2020-09-29 01:57"; \ No newline at end of file +const char* BUILD_TIME="2020-09-29 02:43"; \ No newline at end of file