diff options
Diffstat (limited to 'src/input/input_http.c')
-rw-r--r-- | src/input/input_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c index 35fff8ce0..aec74bd5d 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -1041,7 +1041,7 @@ static input_plugin_t *http_class_get_instance (input_class_t *cls_gen, xine_str this = calloc(1, sizeof(http_input_plugin_t)); if (!strncasecmp (mrl, "peercast://pls/", 15)) { - asprintf (&this->mrl, "http://127.0.0.1:7144/stream/%s", mrl+15); + this->mrl = _x_asprintf ("http://127.0.0.1:7144/stream/%s", mrl+15); } else { this->mrl = strdup (mrl); } |