From 4be6245766c5178c20d7ed206e20db6904ad9c5e Mon Sep 17 00:00:00 2001 From: Philip Heron Date: Sat, 25 Feb 2012 20:15:25 +0000 Subject: [PATCH] Return empty string, not NULL --- ssdv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssdv.c b/ssdv.c index 6146abc..e8e89ff 100644 --- a/ssdv.c +++ b/ssdv.c @@ -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++) {