[svn-commits] branch group/asterisk-xmpp r26164 - /team/group/asterisk-xmpp/res/res_jabber.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue May 9 09:14:27 MST 2006


Author: russell
Date: Tue May  9 11:14:27 2006
New Revision: 26164

URL: http://svn.digium.com/view/asterisk?rev=26164&view=rev
Log:
fix up some formatting messed up by indent, update docs for the addition of
specifying the client to the jabber test command, and swap the values of
test_usage and no_debug_usage, because they were swapped before

Modified:
    team/group/asterisk-xmpp/res/res_jabber.c

Modified: team/group/asterisk-xmpp/res/res_jabber.c
URL: http://svn.digium.com/view/asterisk/team/group/asterisk-xmpp/res/res_jabber.c?rev=26164&r1=26163&r2=26164&view=diff
==============================================================================
--- team/group/asterisk-xmpp/res/res_jabber.c (original)
+++ team/group/asterisk-xmpp/res/res_jabber.c Tue May  9 11:14:27 2006
@@ -89,13 +89,22 @@
 static int aji_reconnect(struct aji_client *client);
 static iks *jabber_make_auth(iksid * id, const char *pass, const char *sid);
 
-static char debug_usage[] = "Usage: JABBER debug\n" "	Enables dumping of JABBER packets for debugging purposes.\n";
-
-static char reload_usage[] = "Usage: JABBER reload\n" "	Enables reloading of JABBER module.\n";
-
-static char test_usage[] = "Usage: JABBER no debug\n" "	Disables dumping of JABBER packets for debugging purposes.\n";
-
-static char no_debug_usage[] = "Usage: JABBER test\n" "	Sends test massage for debugging purposes.\n";
+static char debug_usage[] = 
+"Usage: JABBER debug\n" 
+"       Enables dumping of JABBER packets for debugging purposes.\n";
+
+static char no_debug_usage[] = 
+"Usage: JABBER no debug\n" 
+"       Disables dumping of JABBER packets for debugging purposes.\n";
+
+static char reload_usage[] = 
+"Usage: JABBER reload\n" 
+"       Enables reloading of JABBER module.\n";
+
+static char test_usage[] = 
+"Usage: JABBER test [client]\n" 
+"       Sends test massage for debugging purposes.  A specific client\n"
+"       as configured in jabber.conf can be optionally specified.\n";
 
 static struct ast_cli_entry aji_cli[] = {
 	{{ "jabber", "debug", NULL}, aji_do_debug, "Enable JABBER debugging", debug_usage },



More information about the svn-commits mailing list