There are only 16 days left for something to replace this as October's stupidest bug.

This commit is contained in:
Charles Kerr 2007-10-16 03:00:53 +00:00
parent ec30180d76
commit c9359d8bde
1 changed files with 1 additions and 1 deletions

View File

@ -849,7 +849,7 @@ ensureAtomExists( Torrent * t, const struct in_addr * addr, uint16_t port, uint8
{
struct peer_atom * a = getExistingAtom( t, addr );
if( a != NULL )
if( a == NULL )
{
a = tr_new0( struct peer_atom, 1 );
a->addr = *addr;