diff options
| author | Philip Heron <phil@sanslogic.co.uk> | 2012-02-25 20:15:25 +0000 |
|---|---|---|
| committer | Philip Heron <phil@sanslogic.co.uk> | 2012-02-25 20:15:25 +0000 |
| commit | 4be6245766c5178c20d7ed206e20db6904ad9c5e (patch) | |
| tree | 124efe4cc94093c060f4af5dd813e9e7ada2b06f | |
| parent | 6ab1f0686d144acebb54fc71f7870e60d5cdcaa9 (diff) | |
Return empty string, not NULL
| -rw-r--r-- | ssdv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -182,7 +182,7 @@ static char *decode_callsign(char *callsign, uint32_t code) *callsign = '\0'; /* Is callsign valid? */ - if(code > 0xF423FFFF) return(0); + if(code > 0xF423FFFF) return(callsign); for(c = callsign; code; c++) { |
