Commit ef9e1567 authored by Geoff Simmons's avatar Geoff Simmons

varnishevent bugfix: correctly retrieve the Date header from backend responses

parent 1dab6fa0
......@@ -119,7 +119,7 @@ get_tm(logline_t *ll, struct tm * t) {
date_rec = GET_HDR(ll, rx, "Date");
}
else if (B(ll->spec)) {
if ((date_rec = GET_HDR(ll, tx, "Date")) == NULL)
if ((date_rec = GET_HDR(ll, rx, "Date")) == NULL)
tt = (time_t) ll->t;
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment