diff options
Diffstat (limited to 'qarshd.c')
-rw-r--r-- | qarshd.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -59,8 +59,6 @@ sigset_t orig_sigmask; int childfds[3] = { -1, -1, -1 }; /* pipes to child for stdin/stdout/stderr */ int receivefd = -1; int sendfd = -1; -off_t recvsize = 0; -off_t received = 0; void lprintf(int priority, const char *format, ...) @@ -177,8 +175,6 @@ prepare_recvfile(struct qa_packet *qp) /* Store fd to check data packets against */ receivefd = fd; - recvsize = qp->qp_recvfile.qp_count; - received = 0; return make_qp_data_allow(0, QARSHD_BUFSIZE); } @@ -203,7 +199,6 @@ receive_data(struct qa_packet *qp) } nwrote += ret; } while (nwrote < qp->qp_data.qp_count); - received += nwrote; return make_qp_data_allow(0, nwrote); } |