From: marc Date: Mon, 8 Jan 1996 07:12:19 +0000 (+0000) Subject: fix comment X-Git-Tag: tznext/4.11.0.1.tizen20130304~11800 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97216a56c78e74092e3f5fe07dfd303e053a75fa;p=tools%2Flibrpm-tizen.git fix comment CVS patchset: 160 CVS date: 1996/01/08 07:12:19 --- diff --git a/lib/header.c b/lib/header.c index da423f7..97a9678 100644 --- 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;