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

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:45:09 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 d748757e581b74e7298df155ad49174cb914102b
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 6b842bc..fe6957c 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