[hamradio-commits] [dump1090] 95/373: Correct CRLF order in SBS-1 ASCII output

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Thu Oct 23 14:58:09 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 7779ef4d4f553e2daec62fa297239e641d593cf5
Author: Malcolm Robb <Support at ATTAvionics.com>
Date:   Mon Apr 15 22:37:10 2013 +0100

    Correct CRLF order in SBS-1 ASCII output
---
 dump1090.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dump1090.c b/dump1090.c
index f9205ba..3636dd1 100644
--- a/dump1090.c
+++ b/dump1090.c
@@ -2332,7 +2332,7 @@ void modesSendSBSOutput(struct modesMessage *mm, struct aircraft *a) {
         return;
     }
 
-    *p++ = '\n'; *p++ = '\r';
+    *p++ = '\r'; *p++ = '\n'; // <CRLF> or just <LF> ??
     modesSendAllClients(Modes.sbsos, msg, p-msg);
 }
 

-- 
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