summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-01 18:41:14 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-01 18:41:14 +0200
commit3ec04bd5add043955a94d735330bf374fbe8a269 (patch)
tree471c28dd139fb3e0309629662aa9c87ff7d74c64
parent92698df7236d0fc6c1d9c683210ddc12984764b3 (diff)
downloadlibrpm-tizen-3ec04bd5add043955a94d735330bf374fbe8a269.tar.gz
librpm-tizen-3ec04bd5add043955a94d735330bf374fbe8a269.tar.bz2
librpm-tizen-3ec04bd5add043955a94d735330bf374fbe8a269.zip
Lose leftover davRead() related hack
-rw-r--r--lib/signature.c6
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,