summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Heinanen <jh@tutpro.com>2017-05-15 22:11:00 +0300
committerJuha Heinanen <jh@tutpro.com>2017-05-15 22:11:00 +0300
commit503944520f94545daace7e6236265362560da960 (patch)
treecc64c540051a0f20561c2a517cedd1b089d90982
parentd179ae1159571cc9aaa0bf094b6835b7bedeb345 (diff)
modules/zrtp: trying to make travis happy
-rw-r--r--modules/zrtp/zrtp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/zrtp/zrtp.c b/modules/zrtp/zrtp.c
index b647b8b..ed435dd 100644
--- a/modules/zrtp/zrtp.c
+++ b/modules/zrtp/zrtp.c
@@ -320,9 +320,11 @@ static void zrtp_log(int level, char *data, int len, int offset)
{
if (level == 1) {
error("%b\n", data, len);
- } else if (level == 2) {
+ }
+ else if (level == 2) {
info("%b\n", data, len);
- } else {
+ }
+ else {
debug("%b\n", data, len);
}
}
@@ -340,7 +342,7 @@ static int module_init(void)
char zrtp_zid_path[256] = "";
FILE *f;
int err;
-
+
zrtp_log_set_log_engine(zrtp_log);
zrtp_config_defaults(&zrtp_config);