Return empty string, not NULL
This commit is contained in:
parent
6ab1f0686d
commit
4be6245766
2
ssdv.c
2
ssdv.c
|
@ -182,7 +182,7 @@ static char *decode_callsign(char *callsign, uint32_t code)
|
||||||
*callsign = '\0';
|
*callsign = '\0';
|
||||||
|
|
||||||
/* Is callsign valid? */
|
/* Is callsign valid? */
|
||||||
if(code > 0xF423FFFF) return(0);
|
if(code > 0xF423FFFF) return(callsign);
|
||||||
|
|
||||||
for(c = callsign; code; c++)
|
for(c = callsign; code; c++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue