mirror of
https://github.com/transmission/transmission
synced 2025-02-22 06:00:41 +00:00
There are only 16 days left for something to replace this as October's stupidest bug.
This commit is contained in:
parent
ec30180d76
commit
c9359d8bde
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue