worker: fixes scope issue inside #ifdef U3_EVENT_TIME_DEBUG

This commit is contained in:
Joe Bryan 2019-09-10 13:24:47 -07:00 committed by Jared Tobin
parent d7f9d9aefc
commit a2dcabd38e
No known key found for this signature in database
GPG Key ID: 0E4647D58F8A69E4

View File

@ -506,15 +506,13 @@ _worker_work_live(c3_d evt_d, u3_noun job)
u3A->now = u3k(now);
#ifdef U3_EVENT_TIME_DEBUG
{
struct timeval b4, f2, d0;
gettimeofday(&b4, 0);
struct timeval b4, f2, d0;
gettimeofday(&b4, 0);
if ( c3__belt != u3h(u3t(ovo)) ) {
c3_c* txt_c = u3r_string(u3h(u3t(ovo)));
if ( c3__belt != u3h(u3t(ovo)) ) {
c3_c* txt_c = u3r_string(u3h(u3t(ovo)));
u3l_log("work: %s (%" PRIu64 ") live\r\n", txt_c, evt_d);
}
u3l_log("work: %s (%" PRIu64 ") live\r\n", txt_c, evt_d);
}
#endif