[hamradio-commits] [dump1090] 18/373: Initialize aircraft speed in interactive mode.

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Thu Oct 23 14:58:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch backport
in repository dump1090.

commit 3f47bb6f475ce33036ca2aa51743ed6090269955
Author: antirez <antirez at gmail.com>
Date:   Tue Jan 8 19:23:25 2013 +0100

    Initialize aircraft speed in interactive mode.
    
    The effect of this bug was random speeds displayed with --interactive.
---
 dump1090.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dump1090.c b/dump1090.c
index 7dd9073..0ea56ba 100644
--- a/dump1090.c
+++ b/dump1090.c
@@ -1202,6 +1202,7 @@ struct aircraft *interactiveCreateAircraft(uint32_t addr) {
     snprintf(a->hexaddr,sizeof(a->hexaddr),"%06x",(int)addr);
     a->flight[0] = '\0';
     a->altitude = 0;
+    a->speed = 0;
     a->seen = time(NULL);
     a->messages = 0;
     a->next = NULL;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list