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:
a07f814
)
fix comment
author
marc
<devnull@localhost>
Mon, 8 Jan 1996 07:12:19 +0000
(07:12 +0000)
committer
marc
<devnull@localhost>
Mon, 8 Jan 1996 07:12:19 +0000
(07:12 +0000)
CVS patchset: 160
CVS date: 1996/01/08 07:12:19
lib/header.c
patch
|
blob
|
history
diff --git
a/lib/header.c
b/lib/header.c
index
da423f7
..
97a9678
100644
(file)
--- a/
lib/header.c
+++ b/
lib/header.c
@@
-288,12
+288,11
@@
Header readHeader(int fd)
}
/* Finally, read the data */
- /* XXX need to convert the data! */
h->data = malloc(dl);
h->data_malloced = dl;
h->data_used = dl;
read(fd, h->data, dl);
-
+ /* and convert it */
converted_data = dataNetworkToHost(h);
free(h->data);
h->data = converted_data;