summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/libotr/src/message.c
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2016-03-11 10:15:52 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2016-03-11 10:15:52 +0000
commit37a22955a1b614c0b112ae5dee30ce1f6c80da77 (patch)
tree542ca9217da1e014f372b4b243d552a6821bbac1 /plugins/MirOTR/libotr/src/message.c
parent233d4da0d94f0fddd54182426f5abef7eb2a25f7 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16455 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/libotr/src/message.c')
-rw-r--r--plugins/MirOTR/libotr/src/message.c3
1 files changed, 2 insertions, 1 deletions
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). */