projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
304e100
)
fixed previous edit
author
marc
<devnull@localhost>
Mon, 18 Dec 1995 18:13:41 +0000
(18:13 +0000)
committer
marc
<devnull@localhost>
Mon, 18 Dec 1995 18:13:41 +0000
(18:13 +0000)
,
CVS patchset: 54
CVS date: 1995/12/18 18:13:41
lib/header.c
patch
|
blob
|
history
diff --git
a/lib/header.c
b/lib/header.c
index
44108ba
..
b0a429c
100644
(file)
--- a/
lib/header.c
+++ b/
lib/header.c
@@
-431,7
+431,7
@@
int getEntry(Header h, int_32 tag, int_32 * type, void **p, int_32 * c)
*p = h->data + ntohl(index->offset);
break;
case STRING_TYPE:
- if (
*c
== 1) {
+ if (
ntohl(index->count)
== 1) {
/* Special case -- just return a pointer to the string */
*p = h->data + ntohl(index->offset);
} else {