summaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-11-15 17:51:53 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-11-15 17:51:53 +0100
commit5f6a7d692e3faa440d94a5fc80ab3ba8bd09003d (patch)
treeba67cf8496a92af34344d530dc489b05789c0d43 /src/log.c
parent5b6343f51a0913400c15392389668a019727a9a1 (diff)
downloadfastd-5f6a7d692e3faa440d94a5fc80ab3ba8bd09003d.tar
fastd-5f6a7d692e3faa440d94a5fc80ab3ba8bd09003d.zip
ec25519-fhmqvc: extend describe_peer to return the whole key
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index 1559496..3e32f63 100644
--- a/src/log.c
+++ b/src/log.c
@@ -98,7 +98,7 @@ static size_t snprint_peer_str(char *buffer, size_t size, const fastd_peer_t *pe
return snprintf_safe(buffer, size, "<%s>", peer->name);
}
else {
- char buf[65];
+ char buf[17];
if (conf.protocol->describe_peer(peer, buf, sizeof(buf)))
return snprintf_safe(buffer, size, "{%s}", buf);
}