summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-09-21 11:47:14 +0200
committerAlfred E. Heggestad <aeh@db.org>2014-09-21 11:47:14 +0200
commit103395ebb335e418ac4927fbb1e69e43e47415ee (patch)
tree7a3382f0258125d5973dd132ae8272ab83c2b3e1 /modules
parentc9f412f926b01f9038c85f0569f0eaa3638a4023 (diff)
zrtp: print Z-command info
Diffstat (limited to 'modules')
-rw-r--r--modules/zrtp/zrtp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/zrtp/zrtp.c b/modules/zrtp/zrtp.c
index fced591..e5bcbf1 100644
--- a/modules/zrtp/zrtp.c
+++ b/modules/zrtp/zrtp.c
@@ -252,7 +252,8 @@ static void on_zrtp_secure(zrtp_stream_t *stream)
zrtp_session_get(sess->zrtp_session, &sess_info);
if (!sess_info.sas_is_verified && sess_info.sas_is_ready) {
- info("zrtp: verify SAS <%s> <%s> for remote peer %w\n",
+ info("zrtp: verify SAS <%s> <%s> for remote peer %w"
+ " (press 'Z' <ZID> to verify)\n",
sess_info.sas1.buffer,
sess_info.sas2.buffer,
sess_info.peer_zid.buffer,
@@ -269,6 +270,7 @@ static struct menc menc_zrtp = {
static int verify_sas(struct re_printf *pf, void *arg)
{
const struct cmd_arg *carg = arg;
+ (void)pf;
if (str_isset(carg->prm)) {
char *s2h;