diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-22 19:23:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-22 19:23:34 +0000 |
commit | d0a361d3f7674910ac74be4454333696239457b3 (patch) | |
tree | df5ab8ec14ce95442f012d9a0da186740523ccf3 | |
parent | 7514058dfd22eadac9c6a504c8afdf569eb0cf1f (diff) | |
download | perl-URPM-d0a361d3f7674910ac74be4454333696239457b3.tar perl-URPM-d0a361d3f7674910ac74be4454333696239457b3.tar.gz perl-URPM-d0a361d3f7674910ac74be4454333696239457b3.tar.bz2 perl-URPM-d0a361d3f7674910ac74be4454333696239457b3.tar.xz perl-URPM-d0a361d3f7674910ac74be4454333696239457b3.zip |
(get_filesize) use librpm's headerGetNumber()
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ get_int(Header header, int32_t tag) { static size_t get_filesize(const Header h) { - return get_int(h, RPMTAG_SIGSIZE) + 440; /* 440 is the rpm header size (?) empirical, but works */ + return headerGetNumber(h, RPMTAG_SIGSIZE) + 440; /* 440 is the rpm header size (?) empirical, but works */ } static int |