bugGPSD - Bugs: bug #42371, Typo in JSON output for AIS navaids

 
 

bug #42371: Typo in JSON output for AIS navaids

Submitted by:  Iván Sánchez Ortega <ivansanchez>
Submitted on:  Thu 15 May 2014 01:51:53 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 15 May 2014 01:51:53 PM UTC, original submission:

The JSON output for AIS navaids (message type 21) is invalid when the scaled option is on.

I've traced down the bug to line 3203 of gpsd_json.c, which reads:

"\"epfd\"%u,\"epfd_text\":\"%s\","

Note the missing colon just after \"epfd\". The right way for this is:

"\"epfd\":%u,\"epfd_text\":\"%s\","

Iván Sánchez Ortega <ivansanchez>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by esr (Updated the item)
  • -unavailable- added by ivansanchez (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 Aug 2014 05:46:36 PM UTCesrOpen/ClosedOpen=>Closed
    Sat 17 May 2014 12:31:05 PM UTCesrStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1