diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-12 10:26:54 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-12 10:26:54 +0000 |
commit | 071725d4c47a20e5f7e14850ca9739a705f0ea8c (patch) | |
tree | 1e2d1d6f606f3ebfd96efe7624eee8e3dd95a536 /res | |
parent | 39665e9e5c73dafc2212f34004f4f2d07ef37aa7 (diff) |
Merged revisions 44911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44911 | russell | 2006-10-12 06:24:36 -0400 (Thu, 12 Oct 2006) | 2 lines
change some debug output to use LOG_DEBUG instead of verbose output
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44912 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_jabber.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c index 0e09b273e..212c11595 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -621,32 +621,32 @@ static int aji_act_hook(void *data, int type, iks *node) switch (pak->type) { case IKS_PAK_NONE: - if (option_verbose > 4) - ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Don't know what to do with you NONE\n"); + if (option_debug) + ast_log(LOG_DEBUG, "JABBER: I Don't know what to do with you NONE\n"); break; case IKS_PAK_MESSAGE: aji_handle_message(client, pak); - if (option_verbose > 4) - ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Don't know what to do with you MESSAGE\n"); + if (option_debug) + ast_log(LOG_DEBUG, "JABBER: I Don't know what to do with you MESSAGE\n"); break; case IKS_PAK_PRESENCE: aji_handle_presence(client, pak); - if (option_verbose > 4) - ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Do know how to handle presence!!\n"); + if (option_debug) + ast_log(LOG_DEBUG, "JABBER: I Do know how to handle presence!!\n"); break; case IKS_PAK_S10N: aji_handle_subscribe(client, pak); - if (option_verbose > 4) - ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Dont know S10N subscribe!!\n"); + if (option_debug) + ast_log(LOG_DEBUG, "JABBER: I Dont know S10N subscribe!!\n"); break; case IKS_PAK_IQ: - if (option_verbose > 4) - ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Dont have an IQ!!!\n"); + if (option_debug) + ast_log(LOG_DEBUG, "JABBER: I Dont have an IQ!!!\n"); aji_handle_iq(client, node); break; default: - if (option_verbose > 4) - ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Dont know %i\n", pak->type); + if (option_debug) + ast_log(LOG_DEBUG, "JABBER: I Dont know %i\n", pak->type); break; } |