Fix tisb/mlat json flag formatting
This commit is contained in:
parent
213d769bf9
commit
d267d2257a
2
net_io.c
2
net_io.c
|
@ -1175,7 +1175,7 @@ static char *append_flags(char *p, char *end, struct aircraft *a, datasource_t s
|
||||||
p = safe_snprintf(p, end, "\"gva\",");
|
p = safe_snprintf(p, end, "\"gva\",");
|
||||||
if (a->sda_valid.source == source)
|
if (a->sda_valid.source == source)
|
||||||
p = safe_snprintf(p, end, "\"sda\",");
|
p = safe_snprintf(p, end, "\"sda\",");
|
||||||
if (start > p)
|
if (p != start)
|
||||||
--p;
|
--p;
|
||||||
p = safe_snprintf(p, end, "]");
|
p = safe_snprintf(p, end, "]");
|
||||||
return p;
|
return p;
|
||||||
|
|
Loading…
Reference in a new issue