initialize IP ACLs properly

This commit is contained in:
Lennart Poettering 2008-08-11 19:46:28 +02:00
parent 8ca254c490
commit 7c5a95950e
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
}