X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Faccesslog.c;h=0c7ef8d50aa9669f0ef8658d4a5628013ee46df0;hb=a7d7286d8de39daaf90952eeea77e5e83d598eae;hp=e419587989abd3d168e4c09dcdbd74b09e7ffff0;hpb=5db75597d67ca7830e20c1ca2fabb20f542ae336;p=ashd.git diff --git a/src/accesslog.c b/src/accesslog.c index e419587..0c7ef8d 100644 --- a/src/accesslog.c +++ b/src/accesslog.c @@ -97,7 +97,7 @@ static void logitem(struct logdata *data, char o, char *d) } break; case 'p': - if(!data->resp || ((h = getheader(data->req, d)) == NULL)) { + if(!data->resp || ((h = getheader(data->resp, d)) == NULL)) { putc('-', out); } else { qputs(h, out);