Ticket #23081: 23081_v2.patch

File 23081_v2.patch, 376 bytes (added by Vort, 4 months ago)
  • src/or/ntmain.c

    diff --git a/src/or/ntmain.c b/src/or/ntmain.c
    index e087bd6..d0d5276 100644
    a b nt_service_body(int argc, char **argv) 
    293293   * event loop */
    294294  service_status.dwCurrentState = SERVICE_RUNNING;
    295295  service_fns.SetServiceStatus_fn(hStatus, &service_status);
     296  set_main_thread();
    296297  do_main_loop();
    297298  tor_cleanup();
    298299}