Print more debug output
authorNicolas Cornu <nicolas.cornu@ensi-bourges.fr>
Mon, 19 Jul 2010 22:43:30 +0200
changeset 57 23df37238a3a
parent 56 2ee6da0e59cb
child 58 daafe5b8a48d
Print more debug output
jingle/jingle.c
--- a/jingle/jingle.c	Mon Jul 19 17:11:44 2010 +0200
+++ b/jingle/jingle.c	Mon Jul 19 22:43:30 2010 +0200
@@ -117,6 +117,8 @@
     if (error->domain == JINGLE_CHECK_ERROR) {
       // request malformed, we reply with a bad-request
       jingle_send_iq_error(message, "cancel", "bad-request", NULL);
+      scr_log_print(LPRINT_DEBUG,
+                    "jingle: ", error->message);
     }
     g_clear_error(&error);
     return LM_HANDLER_RESULT_REMOVE_MESSAGE;