1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

Merge branch 'spr0cketeer/icecast-server-url-event-fix'

This commit is contained in:
Philipp Schafft 2019-01-09 08:53:13 +00:00
commit 46d5e0e703

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);