From 662c5eea0601c2b6c6a6202305cde58412a7c7ba Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Fri, 27 Mar 2020 10:59:57 +0200 Subject: [PATCH] fix bug in mdns json generator --- examples/single_chip/camera_web_server/main/app_mdns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/single_chip/camera_web_server/main/app_mdns.c b/examples/single_chip/camera_web_server/main/app_mdns.c index 681c17a..eef7e00 100644 --- a/examples/single_chip/camera_web_server/main/app_mdns.c +++ b/examples/single_chip/camera_web_server/main/app_mdns.c @@ -97,7 +97,7 @@ const char * app_mdns_query(size_t * out_len) p += sprintf(p, "\"framesize\":\"%s\",", framesize); p += sprintf(p, "\"stream_port\":\"81\","); p += sprintf(p, "\"board\":\"%s\",", CAM_BOARD); - p += sprintf(p, "\"model\":\"%s\",", model); + p += sprintf(p, "\"model\":\"%s\"", model); *p++ = '}'; *p++ = ','; p += sprintf(p, "\"ip\":\"" IPSTR "\",", IP2STR(&(ip.ip)));