raop : whitespace cleanup

This commit is contained in:
F. Duncanh
2025-08-08 11:03:47 -04:00
parent 3e1d83d7d6
commit c8ce350226
4 changed files with 233 additions and 231 deletions

View File

@@ -923,7 +923,8 @@ raop_handler_setup(raop_conn_t *conn,
plist_array_append_item(res_streams_node, res_stream_node);
break;
} case 96: {
}
case 96: {
// Audio
unsigned short cport = conn->raop->control_lport, dport = conn->raop->data_lport;
unsigned short remote_cport = 0;
@@ -1045,9 +1046,11 @@ raop_handler_get_parameter(raop_conn_t *conn,
return;
}
for (next = current ; (datalen - (next - data) > 0) ; ++next)
if (*next == '\r')
for (next = current ; (datalen - (next - data) > 0) ; ++next) {
if (*next == '\r') {
break;
}
}
if ((datalen - (next - data) >= 2) && !strncmp(next, "\r\n", 2)) {
if ((next - current) > 0) {

View File

@@ -195,7 +195,6 @@ raop_rtp_init(logger_t *logger, raop_callbacks_t *callbacks, raop_ntp_t *ntp, co
return raop_rtp;
}
void
raop_rtp_destroy(raop_rtp_t *raop_rtp)
{