From 334c6e4bbb97a4c0656e1b07c3e6a565f68eae2b Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 28 Nov 2008 22:21:10 +0000 Subject: The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. --- 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 db8dfbd..764281c 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, FLAG_UDP ); + r = 8 + return_peers_for_torrent( torrent, numwant, static_outbuf + 8, FLAG_UDP ); } socket_send4( serversocket, static_outbuf, r, remoteip, remoteport ); -- cgit v1.2.3