bin/xbps-create: fix incorrect assert variable

Closes: #309 [via git-merge-pr]
This commit is contained in:
Daniel T. Borelli
2020-07-21 21:15:51 -03:00
committed by Duncan Overbruck
parent 66f84a8b59
commit 024c4cc75d

View File

@@ -398,7 +398,7 @@ ftw_cb(const char *fpath, const struct stat *sb, const struct dirent *dir UNUSED
p3 = strdup(p+strlen(p2));
assert(p2);
assert(p3);
xe->target = xbps_sanitize_path(p3);
assert(xe->target);
free(p3);