From c4481dcce36417f42e719b8f46e256634155fbe0 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Fri, 16 Jun 2017 17:28:37 +0200 Subject: [PATCH] fix trace --- coreapi/lime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/lime.c b/coreapi/lime.c index 94b1a271d..9f8929dd3 100644 --- a/coreapi/lime.c +++ b/coreapi/lime.c @@ -686,10 +686,10 @@ int lime_decryptMultipartMessage(void *cachedb, uint8_t *message, const char *se } if (associatedKey.sessionIndex != usedSessionIndex) { - ms_warning("Line: unexpected session index [%i] received from [%s], [%i] message will discarded" + ms_warning("Lime: unexpected session index [%i] received from [%s], [%i] messages will be discarded" , usedSessionIndex , peerURI - , associatedKey.sessionIndex - usedSessionIndex); + , usedSessionIndex-associatedKey.sessionIndex); } while (usedSessionIndex>associatedKey.sessionIndex) { lime_deriveKey(&associatedKey);