Lose leftover davRead() related hack

This commit is contained in:
Panu Matilainen 2007-12-01 18:41:14 +02:00
parent 92698df723
commit 3ec04bd5ad
1 changed files with 1 additions and 5 deletions

View File

@ -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,