From d96ed80aa2365a3f5d85db83177b3e61d672e0a4 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 14 Oct 2007 03:26:13 +0000 Subject: [PATCH] (1) fix a bug in torrent creation. (2) fix a bug in torrent paths on startup in gtk --- gtk/tr_core.c | 2 +- libtransmission/makemeta.c | 2 +- libtransmission/peer-msgs.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/tr_core.c b/gtk/tr_core.c index c7b5f6aaa..25ab4b33d 100644 --- a/gtk/tr_core.c +++ b/gtk/tr_core.c @@ -361,7 +361,7 @@ tr_core_load( TrCore * self, gboolean forcepaused ) if( forcepaused ) flags |= TR_FLAG_PAUSED; - torrents = tr_loadTorrents ( self->handle, path, flags, &count ); + torrents = tr_loadTorrents ( self->handle, NULL, flags, &count ); for( i=0; iabortFlag ) { diff --git a/libtransmission/peer-msgs.c b/libtransmission/peer-msgs.c index 056ef8a29..c3d436295 100644 --- a/libtransmission/peer-msgs.c +++ b/libtransmission/peer-msgs.c @@ -69,7 +69,7 @@ enum KEEPALIVE_INTERVAL_SECS = 90, /* idle seconds before we send a keepalive */ PEX_INTERVAL = (60 * 1000), /* msec between calls to sendPex() */ - PEER_PULSE_INTERVAL = (20), /* msec between calls to pulse() */ + PEER_PULSE_INTERVAL = (133), /* msec between calls to pulse() */ RATE_PULSE_INTERVAL = (333), /* msec between calls to ratePulse() */ };