mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 08:49:15 +02:00
also this
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ static int config_handler(void* user, const char* section, const char* name, con
|
||||
|
||||
if (MATCH("rds95", "udp_port")) config->udp_port = (uint16_t)atoi(value);
|
||||
else if (MATCH("rds95", "tcp_port")) config->tcp_port = (uint16_t)atoi(value);
|
||||
} else if (MATCH("rds95", "streams")) {
|
||||
else if (MATCH("rds95", "streams")) {
|
||||
int streams = atoi(value);
|
||||
if (streams > MAX_STREAMS || streams == 0) return 0;
|
||||
config->num_streams = (uint8_t)streams;
|
||||
|
||||
Reference in New Issue
Block a user