[CONTACT]

[ABOUT]

[POLICY]

Log gph Files gph Refs gph

Found at: gopher.r-36.net:70/scm/acarsdec/commit/8a87c0365ac350673ccfbc8debca91411f48b00b.gph

All Keys in the protocol mode should be uppercase. - acarsdec - an ACARS decoder

Log

Files

Refs

README

---

commit 8a87c0365ac350673ccfbc8debca91411f48b00b

parent 1248597a6b7689167d766aa71e298a7c5c7aa70e

Author: Christoph Lohmann <20h@r-36.net>

Date:   Sat, 27 Oct 2012 07:11:15 +0200
All Keys in the protocol mode should be uppercase.
Diffstat:
  main.c                              |       4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---

diff --git a/main.c b/main.c

@@ -128,7 +128,7 @@ void print_proto(msg_t *msg)
         char timestamp[128];
         printf("MESG\n");
-        printf("Mode: %c\n", msg->mode);
+        printf("MODE: %c\n", msg->mode);
         printf("REG: %s\n", msg->addr);
         printf("LABEL: %s\n", msg->label);
         printf("BLKID: %d\n", (int) msg->bid);
@@ -139,7 +139,7 @@ void print_proto(msg_t *msg)
         fwrite(msg->txt, msg->txtlen, 1, stdout);
         printf("\n.\n");
-        if (posconv(msg->txt, msg->label, pos)==0) {
+        if (posconv(msg->txt, msg->label, pos) == 0) {
                 printf("APRS-ADDR: %s\n", msg->addr);
                 printf("APRS-FID: %s\n", msg->fid);
                 printf("APRS-LABEL: %s\n", msg->label);
.


AD: