ssb: No duplicate connections, even with tunnels. This is confusing.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 15m32s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 15m32s
This commit is contained in:
parent
29a1478c86
commit
30329f7cad
@ -3367,11 +3367,6 @@ tf_ssb_connection_t* tf_ssb_connection_get(tf_ssb_t* ssb, const char* id)
|
|||||||
tf_ssb_id_str_to_bin(pub, id);
|
tf_ssb_id_str_to_bin(pub, id);
|
||||||
for (tf_ssb_connection_t* connection = ssb->connections; connection; connection = connection->next)
|
for (tf_ssb_connection_t* connection = ssb->connections; connection; connection = connection->next)
|
||||||
{
|
{
|
||||||
if (connection->tunnel_connection)
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (memcmp(connection->serverpub, pub, k_id_bin_len) == 0)
|
if (memcmp(connection->serverpub, pub, k_id_bin_len) == 0)
|
||||||
{
|
{
|
||||||
return connection;
|
return connection;
|
||||||
|
Loading…
Reference in New Issue
Block a user