Преглед изворни кода

Start previously active torrents after log file setup.

master
Richard Nyberg пре 16 година
родитељ
комит
5d0272a9a2
2 измењених фајлова са 6 додато и 5 уклоњено
  1. +0
    -5
      btpd/btpd.c
  2. +6
    -0
      btpd/main.c

+ 0
- 5
btpd/btpd.c Прегледај датотеку

@@ -126,9 +126,4 @@ btpd_init(void)
timer_init(&m_grace_timer, grace_cb, NULL);
timer_init(&m_heartbeat, heartbeat_cb, NULL);
btpd_timer_add(&m_heartbeat, (& (struct timespec) { 1, 0 }));

if (!empty_start)
active_start();
else
active_clear();
}

+ 6
- 0
btpd/main.c Прегледај датотеку

@@ -269,6 +269,12 @@ args_done:
setlinebuf(stderr);

btpd_daemon_phase = 0;

if (!empty_start)
active_start();
else
active_clear();

evloop();

btpd_err("Exit from evloop with error (%s).\n", strerror(errno));


Loading…
Откажи
Сачувај