X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Faccesslog.c;h=a3894bf248b071a5302c3a99a669d8579aa804b4;hp=1addb387a4db3db824e5e060057413e1386779d6;hb=b71ad67f41a9e99bd243d57b5038de28f1696f27;hpb=ff28e3a531571868159d2a48039bec6bc83f2f0f diff --git a/src/accesslog.c b/src/accesslog.c index 1addb38..a3894bf 100644 --- a/src/accesslog.c +++ b/src/accesslog.c @@ -249,10 +249,10 @@ static void filterreq(struct muth *mt, va_list args) data = defdata; data.req = req; gettimeofday(&data.start, NULL); - cl = mtstdopen(fd, 1, 600, "r+"); + cl = mtstdopen(fd, 1, 600, "r+", NULL); if(socketpair(PF_UNIX, SOCK_STREAM, 0, pfds)) goto out; - hd = mtstdopen(pfds[1], 1, 600, "r+"); + hd = mtstdopen(pfds[1], 1, 600, "r+", NULL); if(sendreq(ch, req, pfds[0])) { close(pfds[0]); goto out;