]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Issue #1454 - correct stupid typo when changing code layout in filebundle.
authorAdam Sutton <dev@adamsutton.me.uk>
Fri, 14 Dec 2012 09:37:29 +0000 (09:37 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Fri, 14 Dec 2012 09:37:29 +0000 (09:37 +0000)
src/filebundle.c

index a7db77b046dce4343a2a2eadafad99b72a8b38e5..77e335e75314f2e292fdd7f923f8d4e0e5cd0be8 100644 (file)
@@ -215,8 +215,8 @@ fb_dir *fb_opendir ( const char *path )
     /* Bundle */
 #if ENABLE_BUNDLE
     char *tmp1, *tmp2, *tmp3 = NULL;
-    *tmp1 = strdup(path);
-    *tmp2 = strtok_r(tmp1, "/", &tmp3);
+    tmp1 = strdup(path);
+    tmp2 = strtok_r(tmp1, "/", &tmp3);
     filebundle_entry_t *fb = filebundle_root;
     while (fb && tmp2) {
       if (fb->type == FB_DIR && !strcmp(fb->name, tmp2)) {