Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
accesslog: Fix %p bug.
[ashd.git]
/
src
/
accesslog.c
diff --git
a/src/accesslog.c
b/src/accesslog.c
index
e419587
..
0c7ef8d
100644
(file)
--- 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':
}
break;
case 'p':
- if(!data->resp || ((h = getheader(data->re
q
, d)) == NULL)) {
+ if(!data->resp || ((h = getheader(data->re
sp
, d)) == NULL)) {
putc('-', out);
} else {
qputs(h, out);
putc('-', out);
} else {
qputs(h, out);