Live upgrade: get tick_connect from the correct JSON key string

This commit is contained in:
Heikki Hannikainen 2014-01-05 14:19:50 +02:00
parent 549c7cdd31
commit 78c6701d14
1 changed files with 1 additions and 1 deletions

View File

@ -1119,7 +1119,7 @@ static int accept_liveupgrade_single(cJSON *client, int *rxerr_map, int rxerr_ma
filter = accept_liveupgrade_cJSON_get(client, "filter", cJSON_String, username_s);
/* optional */
tick_connect = cJSON_GetObjectItem(client, "tick_connect");
tick_connect = cJSON_GetObjectItem(client, "t_connect_tick");
udp_port = cJSON_GetObjectItem(client, "udp_port");
ibuf = cJSON_GetObjectItem(client, "ibuf");
obuf = cJSON_GetObjectItem(client, "obuf");