[Pkg-voip-commits] [janus] 199/282: Added missing transaction ID to error (fixes #1084)

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:41 UTC 2017


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

js pushed a commit to annotated tag debian/0.2.6-1
in repository janus.

commit cb6243c4ef1548b5fae8367678eabe4701680a22
Author: Lorenzo Miniero <lminiero at gmail.com>
Date:   Mon Nov 27 12:51:55 2017 +0100

    Added missing transaction ID to error (fixes #1084)
---
 janus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/janus.c b/janus.c
index bb12d00..b9996d2 100644
--- a/janus.c
+++ b/janus.c
@@ -824,7 +824,7 @@ int janus_process_incoming_request(janus_request *request) {
 			error_code, error_cause, FALSE,
 			JANUS_ERROR_MISSING_MANDATORY_ELEMENT, JANUS_ERROR_INVALID_ELEMENT_TYPE);
 		if(error_code != 0) {
-			ret = janus_process_error_string(request, session_id, NULL, error_code, error_cause);
+			ret = janus_process_error_string(request, session_id, transaction_text, error_code, error_cause);
 			goto jsondone;
 		}
 		json_t *plugin = json_object_get(root, "plugin");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list