]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix a build failure.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 28 Apr 2010 12:10:20 +0000 (08:10 -0400)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 28 Apr 2010 12:10:20 +0000 (08:10 -0400)
SVN-Revision: 2331

libarchive/archive_write_set_format_iso9660.c

index 2e2af2a1f122281cb38aead4253a0f6018ed9737..88317d4818888b2be5040eb11b6f7eee00240aab 100644 (file)
@@ -5467,7 +5467,7 @@ isoent_tree(struct archive_write *a, struct isoent *isoent)
                /* If the current directory is not new,
                 * Check whether there is the same name entry or not. */
                if (np == NULL) {
-                       np = isoent_find_child(curdir,
+                       np = isoent_find_child(dent,
                            isoent->file->basename.s);
                        if (np != NULL)
                                goto same_entry;