[Pkg-privacy-commits] [libotr] 164/225: Fix: pass opdata when sending message fragment

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:45:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository libotr.

commit 28384b6d25308078f38b8d5e49b5911f6ddd0d51
Author: David Goulet <dgoulet at ev0ke.net>
Date:   Sat Jan 19 15:53:23 2013 -0500

    Fix: pass opdata when sending message fragment
    
    The inject_message callback was missing the opdata when sending message
    fragments.
    
    Signed-off-by: David Goulet <dgoulet at 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);
 	    }
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libotr.git



More information about the Pkg-privacy-commits mailing list