mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
raop : whitespace cleanup
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user