Package: libotr5
Version: 4.0.0-2
Severity: important
Tags: patch

It seems as if upstream has a bug that causes not all message fragments
to be sent properly. For irssi-otr, this makes things not work at all because
it just ends up sending the last fragment. The attached patch, which will be
going into upstream eventually, fixes this. It would be really great if you 
could include this in the debian package.

thanks!
micah

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libotr5 depends on:
ii  libc6        2.13-38
ii  libgcrypt11  1.5.0-3

libotr5 recommends no packages.

Versions of packages libotr5 suggests:
pn  libotr5-bin  <none>

-- no debconf information
>From dc5f05eb934ebd285e01febb9a4018512db702b1 Mon Sep 17 00:00:00 2001
From: David Goulet <dgou...@ev0ke.net>
Date: Sat, 19 Jan 2013 15:53:23 -0500
Subject: [PATCH] Fix: pass opdata when sending message fragment

The inject_message callback was missing the opdata when sending message
fragments.

Signed-off-by: David Goulet <dgou...@ev0ke.net>
---
 src/message.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/message.c b/src/message.c
index 7c39529..aa71df2 100644
--- a/src/message.c
+++ b/src/message.c
@@ -441,7 +441,7 @@ fragment:
 	/* Fragment and send according to policy */
 	if (!err && messagep && *messagep) {
 	    if (context) {
-		err = fragment_and_send(ops, NULL, context, *messagep,
+		err = fragment_and_send(ops, opdata, context, *messagep,
 			fragPolicy, messagep);
 	    }
 	}
-- 
1.7.10.4


Reply via email to