From 99bf302a371e425f52d5496f98e6ca13ff38dc9d Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Fri, 6 Nov 2009 20:19:23 +0000 Subject: [PATCH] nicer debug message git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1611 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/dsm/mods/mod_dlg/ModDlg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/dsm/mods/mod_dlg/ModDlg.cpp b/apps/dsm/mods/mod_dlg/ModDlg.cpp index 16c013bb..97725ff9 100644 --- a/apps/dsm/mods/mod_dlg/ModDlg.cpp +++ b/apps/dsm/mods/mod_dlg/ModDlg.cpp @@ -93,7 +93,8 @@ EXEC_ACTION_START(DLGAcceptInviteAction) { unsigned int code_i=200; string reason = "OK"; string code = resolveVars(par1, sess, sc_sess, event_params); - DBG("GOT CODE %s\n", code.c_str()); + DBG("replying with code %s\n", code.c_str()); + if (code.length()) { reason = resolveVars(par2, sess, sc_sess, event_params); if (str2i(code, code_i)) {