X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=trace.c;h=ffecfbbfe49a05a92d617c529cbebed2fa34899e;hp=9d192dafc0b08809f04381596cf25f960344a4e3;hb=5463e1b62a39ce417b610584e3d34a8bc30ac15e;hpb=0c65074b5b88b2da2390078d0fab6c72f228709d diff --git a/trace.c b/trace.c index 9d192da..ffecfbb 100644 --- a/trace.c +++ b/trace.c @@ -274,7 +274,7 @@ void _end_trace(const char *__file, int __line) if (string) { /* process debug */ if (options.deb) - debug(NULL, 0, "TRACE", string); + debug(NULL, NULL, 0, "TRACE", string); /* process log */ if (options.log[0]) { fp = fopen(options.log, "a"); @@ -311,6 +311,7 @@ void _end_trace(const char *__file, int __line) /* attach to response chain */ *responsep = response; responsep = &response->next; + admin->fd.when |= LCR_FD_WRITE; } } admin = admin->next;