[asterisk-commits] lmadsen: branch 1.6.2 r300520 - in /branches/1.6.2: channels/ main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 4 21:52:47 UTC 2011


Author: lmadsen
Date: Tue Jan  4 15:52:41 2011
New Revision: 300520

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=300520
Log:
Fix backwards and broken XML documentation.

(closes issue #18547)
Reported by: jcovert
Patches: 
      xmldoc.c.patch uploaded by jcovert (license 551)
      chan_iax2.c.doc.patch uploaded by jcovert (license 551)
      chan_sip.c.patch uploaded by jcovert (license 551)
      chan_agent.c.patch uploaded by jcovert (license 551)

Modified:
    branches/1.6.2/channels/chan_agent.c
    branches/1.6.2/channels/chan_iax2.c
    branches/1.6.2/channels/chan_sip.c
    branches/1.6.2/main/xmldoc.c

Modified: branches/1.6.2/channels/chan_agent.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_agent.c?view=diff&rev=300520&r1=300519&r2=300520
==============================================================================
--- branches/1.6.2/channels/chan_agent.c (original)
+++ branches/1.6.2/channels/chan_agent.c Tue Jan  4 15:52:41 2011
@@ -166,7 +166,7 @@
 				</enumlist>
 			</parameter>
 		</syntax>
-		<description />
+		<description></description>
 	</function>
  ***/
 

Modified: branches/1.6.2/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_iax2.c?view=diff&rev=300520&r1=300519&r2=300520
==============================================================================
--- branches/1.6.2/channels/chan_iax2.c (original)
+++ branches/1.6.2/channels/chan_iax2.c Tue Jan  4 15:52:41 2011
@@ -161,7 +161,7 @@
 				</enumlist>
 			</parameter>
 		</syntax>
-		<description />
+		<description></description>
 		<see-also>
 			<ref type="function">SIPPEER</ref>
 		</see-also>
@@ -173,7 +173,7 @@
 		<syntax>
 			<parameter name="varname" required="true" />
 		</syntax>
-		<description />
+		<description></description>
 	</function>
  ***/
 

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=300520&r1=300519&r2=300520
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Tue Jan  4 15:52:41 2011
@@ -421,7 +421,7 @@
 				</enumlist>
 			</parameter>
 		</syntax>
-		<description />
+		<description></description>
 	</function>
 	<function name="SIPCHANINFO" language="en_US">
 		<synopsis>
@@ -455,7 +455,7 @@
 				</enumlist>
 			</parameter>
 		</syntax>
-		<description />
+		<description></description>
 	</function>
 	<function name="CHECKSIPDOMAIN" language="en_US">
 		<synopsis>

Modified: branches/1.6.2/main/xmldoc.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/xmldoc.c?view=diff&rev=300520&r1=300519&r2=300520
==============================================================================
--- branches/1.6.2/main/xmldoc.c (original)
+++ branches/1.6.2/main/xmldoc.c Tue Jan  4 15:52:41 2011
@@ -1724,7 +1724,7 @@
 	node = ast_xml_find_element(ast_xml_node_get_children(node), var, NULL, NULL);
 
 	if (!node || !ast_xml_node_get_children(node)) {
-		ast_log(LOG_DEBUG, "Cannot find variable '%s' in tree '%s'\n", name, var);
+		ast_log(LOG_DEBUG, "Cannot find variable '%s' in tree '%s'\n", var, name);
 		return ret;
 	}
 




More information about the asterisk-commits mailing list