forked from cory/tildefriends
printf newline.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3645 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
b660abff7f
commit
8c0d380a4d
@ -1704,12 +1704,12 @@ void tf_ssb_connect(tf_ssb_t* ssb, const char* host, int port, const uint8_t* ke
|
|||||||
if (memcmp(connection->serverpub, key, k_id_bin_len) == 0) {
|
if (memcmp(connection->serverpub, key, k_id_bin_len) == 0) {
|
||||||
char id[k_id_base64_len];
|
char id[k_id_base64_len];
|
||||||
tf_ssb_id_bin_to_str(id, sizeof(id), key);
|
tf_ssb_id_bin_to_str(id, sizeof(id), key);
|
||||||
printf("Not connecting to %s:%d, because we are already connected to %s.", host, port, key);
|
printf("Not connecting to %s:%d, because we are already connected to %s.\n", host, port, id);
|
||||||
return;
|
return;
|
||||||
} else if (memcmp(key, ssb->pub, k_id_bin_len) == 0) {
|
} else if (memcmp(key, ssb->pub, k_id_bin_len) == 0) {
|
||||||
char id[k_id_base64_len];
|
char id[k_id_base64_len];
|
||||||
tf_ssb_id_bin_to_str(id, sizeof(id), key);
|
tf_ssb_id_bin_to_str(id, sizeof(id), key);
|
||||||
printf("Not connecting to %s:%d, because they appear to be ourselves %s.", host, port, key);
|
printf("Not connecting to %s:%d, because they appear to be ourselves %s.\n", host, port, id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user