[tor-commits] [tor/maint-0.2.2] Detect and handle NULL returns from (gm/local)time_r