changeset 6663:5790a2576505

10L don't add a base path to the urls
author albeu
date Sun, 07 Jul 2002 04:07:57 +0000
parents f8e25756a5ec
children b802dd0812f1
files playtreeparser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/playtreeparser.c	Sun Jul 07 03:59:58 2002 +0000
+++ b/playtreeparser.c	Sun Jul 07 04:07:57 2002 +0000
@@ -435,7 +435,7 @@
 
   for(i = 0 ; pt->files[i] != NULL ; i++) {
     fl = strlen(pt->files[i]);
-    if(fl <= 0 || pt->files[i][0] == PATH_SEP)
+    if(fl <= 0 || pt->files[i][0] == PATH_SEP || strstr(pt->files[i],"://"))
       continue;
     pt->files[i] = (char*)realloc(pt->files[i],bl+fl+1);
     memmove(pt->files[i] + bl,pt->files[i],fl+1);