From: Adam Sutton Date: Fri, 14 Dec 2012 09:37:29 +0000 (+0000) Subject: Issue #1454 - correct stupid typo when changing code layout in filebundle. X-Git-Tag: v3.5~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a420c83a0e0d2c31c2c15d0fec6fedc3f5a36dfe;p=thirdparty%2Ftvheadend.git Issue #1454 - correct stupid typo when changing code layout in filebundle. --- diff --git a/src/filebundle.c b/src/filebundle.c index a7db77b04..77e335e75 100644 --- a/src/filebundle.c +++ b/src/filebundle.c @@ -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)) {