diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-01 18:41:14 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-01 18:41:14 +0200 |
commit | 3ec04bd5add043955a94d735330bf374fbe8a269 (patch) | |
tree | 471c28dd139fb3e0309629662aa9c87ff7d74c64 | |
parent | 92698df7236d0fc6c1d9c683210ddc12984764b3 (diff) | |
download | librpm-tizen-3ec04bd5add043955a94d735330bf374fbe8a269.tar.gz librpm-tizen-3ec04bd5add043955a94d735330bf374fbe8a269.tar.bz2 librpm-tizen-3ec04bd5add043955a94d735330bf374fbe8a269.zip |
Lose leftover davRead() related hack
-rw-r--r-- | lib/signature.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/signature.c b/lib/signature.c index 81df8fb71..27db1f2af 100644 --- a/lib/signature.c +++ b/lib/signature.c @@ -108,11 +108,7 @@ static inline rpmRC printSize(FD_t fd, int siglen, int pad, int datalen) struct stat st; int fdno = Fileno(fd); - /* HACK: workaround for davRead wiring. */ - if (fdno == 123456789) { - st.st_size = 0; - st.st_size -= RPMLEAD_SIZE+siglen+pad+datalen; - } else if (fstat(fdno, &st) < 0) + if (fstat(fdno, &st) < 0) return RPMRC_FAIL; rpmlog(RPMLOG_DEBUG, |