X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Faccesslog.c;h=af433738a3bf7038bb617af0b8f65978868ee2ff;hb=HEAD;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);