From 716a2b4a86802891cc84155bd1d5d0ea35fbe2a2 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Tue, 1 Sep 2015 05:09:11 -0600 Subject: [PATCH] Fix spelling of default user agent --- modules/rest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rest.c b/modules/rest.c index 2e51e55..9982785 100644 --- a/modules/rest.c +++ b/modules/rest.c @@ -193,7 +193,7 @@ uint32_t ICACHE_FLASH_ATTR REST_Setup(PACKET_CMD *cmd) client->content_type[21] = 0; client->user_agent = (uint8_t*)os_zalloc(17); - os_sprintf(client->user_agent, "ESPDRUINO@tuanpmt"); + os_sprintf(client->user_agent, "ESPDUINO@tuanpmt"); client->user_agent[16] = 0; client->pCon = (struct espconn *)os_zalloc(sizeof(struct espconn));