Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed May 18, 2024
1 parent 3080842 commit 9cba026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -3609,7 +3609,7 @@ static int handle_gpsd(struct client *c, char *p, int remote, int64_t now, struc
double alt_m = -2e6;
char *altp = strstr(p, "\"alt\":");
if (altp) {
alt_m += 6;
altp += 6;
saveptr = NULL;
strtok_r(altp, ",", &saveptr);
alt_m = strtod(altp, NULL);
Expand Down

0 comments on commit 9cba026

Please sign in to comment.