git.wh0rd.org
/
dump.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c21722b
)
Fix a small bug on an error path introduced by the hashtree patch.
author
Stelian Pop
<stelian@popies.net>
Wed, 30 Mar 2005 13:21:45 +0000
(13:21 +0000)
committer
Stelian Pop
<stelian@popies.net>
Wed, 30 Mar 2005 13:21:45 +0000
(13:21 +0000)
restore/utilities.c
patch
|
blob
|
blame
|
history
diff --git
a/restore/utilities.c
b/restore/utilities.c
index c16590c680d7655c35c00cf009feb2f91c55317e..f17bd9ce458a7214ab50050f787c794d79a033a1 100644
(file)
--- a/
restore/utilities.c
+++ b/
restore/utilities.c
@@
-37,7
+37,7
@@
#ifndef lint
static const char rcsid[] =
- "$Id: utilities.c,v 1.2
7 2005/01/13 15:41:07
stelian Exp $";
+ "$Id: utilities.c,v 1.2
8 2005/03/30 13:21:45
stelian Exp $";
#endif /* not lint */
#include <config.h>
@@
-380,7
+380,7
@@
badentry(struct entry *ep, const char *msg)
int i;
for (i = 0; i < DIRHASH_SIZE; i++) {
if (ep->e_entries[i] != NULL) {
- fprintf(stderr, "next entry name: %s\n", myname(ep->e_entries[
0
]));
+ fprintf(stderr, "next entry name: %s\n", myname(ep->e_entries[
i
]));
break;
}
}