We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46f31d4 commit c9b7c61Copy full SHA for c9b7c61
src/server.c
@@ -1559,6 +1559,7 @@ static THREAD_F cmd_listen_thread (void *arg)
1559
1560
case MEDIUM_RADIO:
1561
{
1562
+ // Misleading if using stdin or udp.
1563
char stemp[100];
1564
int a = ACHAN2ADEV(j);
1565
// If I was really ambitious, some description could be provided.
@@ -1593,12 +1594,7 @@ static THREAD_F cmd_listen_thread (void *arg)
1593
1594
break;
1595
1596
default:
- {
1597
- // could elaborate with hostname, etc.
1598
- char stemp[100];
1599
- snprintf (stemp, sizeof(stemp), "Port%d INVALID CHANNEL;", j+1);
1600
- strlcat (reply.info, stemp, sizeof(reply.info));
1601
- }
+ ; // Only list valid channels.
1602
1603
1604
} // switch
0 commit comments