author | harlekin <harlekin> | 2002-04-20 21:23:38 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-04-20 21:23:38 (UTC) |
commit | 679083ca18ddbf4762578d1aa010203ea188586c (patch) (unidiff) | |
tree | eada9fcd708aedbbe8c6ef207942125ce4ad97a9 | |
parent | b452044ec1b3327f25f8552045b4229c8af39bf7 (diff) | |
download | opie-679083ca18ddbf4762578d1aa010203ea188586c.zip opie-679083ca18ddbf4762578d1aa010203ea188586c.tar.gz opie-679083ca18ddbf4762578d1aa010203ea188586c.tar.bz2 |
no / needed at the url end
-rw-r--r-- | core/multimedia/opieplayer/libmad/libmadplugin.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmadplugin.cpp b/core/multimedia/opieplayer/libmad/libmadplugin.cpp index 4665408..7978805 100644 --- a/core/multimedia/opieplayer/libmad/libmadplugin.cpp +++ b/core/multimedia/opieplayer/libmad/libmadplugin.cpp | |||
@@ -246,3 +246,3 @@ int LibMadPlugin::http_open(const QString& path ) { | |||
246 | char filename[PATH_MAX]; | 246 | char filename[PATH_MAX]; |
247 | char c; | 247 | // char c; |
248 | char *arg =strdup(path.latin1()); | 248 | char *arg =strdup(path.latin1()); |
@@ -260,6 +260,9 @@ int LibMadPlugin::http_open(const QString& path ) { | |||
260 | host = arg + strlen("http://"); | 260 | host = arg + strlen("http://"); |
261 | if ((request = strchr(host, '/')) == NULL) { | 261 | |
262 | qDebug("Url syntax 2error %s", host); | 262 | // we need to think of something better than that |
263 | return (0); | 263 | //if ((request = strchr(host, '/')) == NULL) { |
264 | } | 264 | // qDebug("Url syntax 2error %s", host); |
265 | // return (0); | ||
266 | // } | ||
267 | |||
265 | *request++ = 0; | 268 | *request++ = 0; |