This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
btpd
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Start previously active torrents after log file setup.
master
Richard Nyberg
16 years ago
parent
ba9895e7a5
commit
5d0272a9a2
2 changed files
with
6 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-5
btpd/btpd.c
+6
-0
btpd/main.c
+ 0
- 5
btpd/btpd.c
View File
@@ -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
View File
@@ -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));
Write
Preview
Loading…
Cancel
Save