Skip to content

Commit

Permalink
Another JSON fix for GPS
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fb-martin committed Jan 2, 2020
1 parent 7bb73e4 commit fb7f946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hc_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ static const char *hc_http_gps (const char *method, const char *uri,
strcat (JsonBuffer, nmea_db->text[i].line);
prefix = "\",\"";
}
strcat (JsonBuffer, "\"],");
strcat (JsonBuffer, "\"]");
prefix = ",\"history\":[";
} else {
prefix = "\"history\":[";
Expand Down

0 comments on commit fb7f946

Please sign in to comment.