From 37a22955a1b614c0b112ae5dee30ce1f6c80da77 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 11 Mar 2016 10:15:52 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16455 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirOTR/libotr/src/message.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/MirOTR/libotr/src/message.c') diff --git a/plugins/MirOTR/libotr/src/message.c b/plugins/MirOTR/libotr/src/message.c index c44ce7b8fc..6cc8165c27 100644 --- a/plugins/MirOTR/libotr/src/message.c +++ b/plugins/MirOTR/libotr/src/message.c @@ -467,9 +467,10 @@ static gcry_error_t send_or_error_auth(const OtrlMessageAppOps *ops, if (!err) { const char *msg = context->auth.lastauthmsg; if (msg && *msg) { + time_t now; fragment_and_send(ops, opdata, context, msg, OTRL_FRAGMENT_SEND_ALL, NULL); - time_t now = time(NULL); + now = time(NULL); /* Update the "last sent" fields, unless this is a version 3 * message typing to update the master context (as happens * when sending a v3 COMMIT message, for example). */ -- cgit v1.2.3