Fixed some peer ID brokenness.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
This commit is contained in:
parent
aeefb9e536
commit
ab62e83110
@ -1384,8 +1384,8 @@ static void _tf_ssb_get_peers_exhange_callback(
|
|||||||
peers_exchange_t* data = user_data;
|
peers_exchange_t* data = user_data;
|
||||||
if (origin == k_tf_ssb_broadcast_origin_peer_exchange)
|
if (origin == k_tf_ssb_broadcast_origin_peer_exchange)
|
||||||
{
|
{
|
||||||
char fullid[k_id_base64_len] = { 0 };
|
char fullid[256] = { 0 };
|
||||||
tf_base64_encode(pub, sizeof(pub), fullid, sizeof(fullid));
|
tf_base64_encode(pub, k_id_bin_len, fullid, sizeof(fullid));
|
||||||
char* dot = strchr(fullid, '.');
|
char* dot = strchr(fullid, '.');
|
||||||
if (dot)
|
if (dot)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user