[Pkg-voip-commits] [janus] 132/282: Use janus_process_error in order to avoid (char *) casting.
Jonas Smedegaard
dr at jones.dk
Wed Dec 20 21:53:35 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 fed839f89ccfa823bf402870bf8dc85e006305e7
Author: Alessandro Toppi <atoppi at meetecho.com>
Date: Mon Oct 16 16:10:02 2017 +0200
Use janus_process_error in order to avoid (char *) casting.
---
janus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/janus.c b/janus.c
index 154d4cd..09755e3 100644
--- a/janus.c
+++ b/janus.c
@@ -1000,7 +1000,7 @@ int janus_process_incoming_request(janus_request *request) {
waited += 100000;
if(waited >= 3*G_USEC_PER_SEC) {
JANUS_LOG(LOG_VERB, "[%"SCNu64"] -- Waited 3 seconds, that's enough!\n", handle->handle_id);
- ret = janus_process_error_string(request, session_id, transaction_text, JANUS_ERROR_WEBRTC_STATE, (char *)"Still cleaning a previous session");
+ ret = janus_process_error(request, session_id, transaction_text, JANUS_ERROR_WEBRTC_STATE, "Still cleaning a previous session");
goto jsondone;
}
}
--
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