1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix: Correct url event "action" option handling

Closes: #2370
This commit is contained in:
spr0cketeer 2019-01-06 18:57:45 +00:00
parent de4fdf6656
commit 31da097922

View File

@ -131,7 +131,7 @@ int event_get_url(event_registration_t *er, config_options_t *options) {
} else if (strcmp(options->name, "password") == 0) {
password = options->value;
} else if (strcmp(options->name, "action") == 0) {
free(self->url);
free(self->action);
self->action = NULL;
if (options->value)
self->action = strdup(options->value);