From 719858548d6b3029c0d0a6f3cba5b2aa3aa09c8c Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Mon, 6 Oct 2008 20:18:42 +0000 Subject: Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP --- ot_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_udp.c') diff --git a/ot_udp.c b/ot_udp.c index 64f9c50..1688d69 100644 --- a/ot_udp.c +++ b/ot_udp.c @@ -115,7 +115,7 @@ void handle_udp4( int64 serversocket ) { if( !torrent ) return; /* XXX maybe send error */ - r = 8 + return_peers_for_torrent( hash, numwant, static_outbuf + 8, 0 ); + r = 8 + return_peers_for_torrent( hash, numwant, static_outbuf + 8, FLAG_UDP ); } socket_send4( serversocket, static_outbuf, r, remoteip, remoteport ); -- cgit v1.2.3