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
|
@ -849,7 +849,7 @@ ensureAtomExists( Torrent * t, const struct in_addr * addr, uint16_t port, uint8
|
||||||
{
|
{
|
||||||
struct peer_atom * a = getExistingAtom( t, addr );
|
struct peer_atom * a = getExistingAtom( t, addr );
|
||||||
|
|
||||||
if( a != NULL )
|
if( a == NULL )
|
||||||
{
|
{
|
||||||
a = tr_new0( struct peer_atom, 1 );
|
a = tr_new0( struct peer_atom, 1 );
|
||||||
a->addr = *addr;
|
a->addr = *addr;
|
||||||
|
|
Loading…
Reference in New Issue