mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
initialize IP ACLs properly
This commit is contained in:
parent
8ca254c490
commit
7c5a95950e
2 changed files with 2 additions and 2 deletions
|
|
@ -1574,7 +1574,7 @@ int pa_esound_options_parse(pa_esound_options *o, pa_core *c, pa_modargs *ma) {
|
|||
if ((acl = pa_modargs_get_value(ma, "auth-ip-acl", NULL))) {
|
||||
pa_ip_acl *ipa;
|
||||
|
||||
if (!(o->auth_ip_acl = pa_ip_acl_new(acl))) {
|
||||
if (!(ipa = pa_ip_acl_new(acl))) {
|
||||
pa_log("Failed to parse IP ACL '%s'", acl);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4299,7 +4299,7 @@ int pa_native_options_parse(pa_native_options *o, pa_core *c, pa_modargs *ma) {
|
|||
if ((acl = pa_modargs_get_value(ma, "auth-ip-acl", NULL))) {
|
||||
pa_ip_acl *ipa;
|
||||
|
||||
if (!(o->auth_ip_acl = pa_ip_acl_new(acl))) {
|
||||
if (!(ipa = pa_ip_acl_new(acl))) {
|
||||
pa_log("Failed to parse IP ACL '%s'", acl);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue