From 9f105cfe9059df4a9a1f5278679151a5d9c387f6 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Mon, 10 Oct 2011 12:41:10 +0300 Subject: Fixed asprintf usage --- src/input/input_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input/input_http.c') 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); } -- cgit v1.2.3