bin/xbps-create: fix incorrect assert variable
Closes: #309 [via git-merge-pr]
This commit is contained in:
parent
66f84a8b59
commit
024c4cc75d
@ -398,7 +398,7 @@ ftw_cb(const char *fpath, const struct stat *sb, const struct dirent *dir UNUSED
|
|||||||
|
|
||||||
|
|
||||||
p3 = strdup(p+strlen(p2));
|
p3 = strdup(p+strlen(p2));
|
||||||
assert(p2);
|
assert(p3);
|
||||||
xe->target = xbps_sanitize_path(p3);
|
xe->target = xbps_sanitize_path(p3);
|
||||||
assert(xe->target);
|
assert(xe->target);
|
||||||
free(p3);
|
free(p3);
|
||||||
|
Loading…
Reference in New Issue
Block a user