[svn-commits] mmichelson: branch mmichelson/pubsub_bodies r406305 - in /team/mmichelson/pub...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 23 15:29:06 CST 2014


Author: mmichelson
Date: Thu Jan 23 15:29:02 2014
New Revision: 406305

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=406305
Log:
Fix reviewboard red blobs.


Modified:
    team/mmichelson/pubsub_bodies/include/asterisk/res_pjsip_presence_xml.h
    team/mmichelson/pubsub_bodies/include/asterisk/res_pjsip_pubsub.h
    team/mmichelson/pubsub_bodies/res/res_pjsip_mwi_body_generator.c
    team/mmichelson/pubsub_bodies/res/res_pjsip_xpidf_body_generator.c

Modified: team/mmichelson/pubsub_bodies/include/asterisk/res_pjsip_presence_xml.h
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/pubsub_bodies/include/asterisk/res_pjsip_presence_xml.h?view=diff&rev=406305&r1=406304&r2=406305
==============================================================================
--- team/mmichelson/pubsub_bodies/include/asterisk/res_pjsip_presence_xml.h (original)
+++ team/mmichelson/pubsub_bodies/include/asterisk/res_pjsip_presence_xml.h Thu Jan 23 15:29:02 2014
@@ -47,7 +47,7 @@
  * \brief Convert extension state to relevant PIDF strings
  *
  * \param state The extension state
- * \param[out] statestring 
+ * \param[out] statestring
  * \param[out] pidfstate
  * \param[out] pidfnote
  * \param[out] local_state
@@ -95,6 +95,6 @@
  * \param[out] attr Attribute that was found or created
  * \return The found attribute
  */
-void ast_sip_presence_xml_find_node_attr(pj_pool_t* pool, 
+void ast_sip_presence_xml_find_node_attr(pj_pool_t* pool,
 		pj_xml_node *parent, const char *node_name, const char *attr_name,
 		pj_xml_node **node, pj_xml_attr **attr);

Modified: team/mmichelson/pubsub_bodies/include/asterisk/res_pjsip_pubsub.h
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/pubsub_bodies/include/asterisk/res_pjsip_pubsub.h?view=diff&rev=406305&r1=406304&r2=406305
==============================================================================
--- team/mmichelson/pubsub_bodies/include/asterisk/res_pjsip_pubsub.h (original)
+++ team/mmichelson/pubsub_bodies/include/asterisk/res_pjsip_pubsub.h Thu Jan 23 15:29:02 2014
@@ -592,7 +592,7 @@
 	 *
 	 * Optional callback to destroy resources allocated for the
 	 * message body.
-	 * 
+	 *
 	 * \param body Body to be destroyed
 	 */
 	void (*destroy_body)(void *body);
@@ -659,7 +659,7 @@
  * This may fail if an attempt is made to register a primary body supplement
  * for a given content type if a primary body supplement for that content type
  * has already been registered.
- * 
+ *
  * \param generator Body generator to register
  * \retval 0 Success
  * \retval -1 Failure
@@ -681,7 +681,7 @@
  * This may fail if an attempt is made to register a primary body supplement
  * for a given content type if a primary body supplement for that content type
  * has already been registered.
- * 
+ *
  * \param generator Body generator to register
  * \retval 0 Success
  * \retval -1 Failure

Modified: team/mmichelson/pubsub_bodies/res/res_pjsip_mwi_body_generator.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/pubsub_bodies/res/res_pjsip_mwi_body_generator.c?view=diff&rev=406305&r1=406304&r2=406305
==============================================================================
--- team/mmichelson/pubsub_bodies/res/res_pjsip_mwi_body_generator.c (original)
+++ team/mmichelson/pubsub_bodies/res/res_pjsip_mwi_body_generator.c Thu Jan 23 15:29:02 2014
@@ -61,7 +61,7 @@
 
 	ast_str_append(mwi, 0, "Messages-Waiting: %s\r\n",
 			counter->new_msgs ? "yes" : "no");
-	ast_str_append(mwi, 0, "Voice-Message: %d/%d (0/0)\r\n", 
+	ast_str_append(mwi, 0, "Voice-Message: %d/%d (0/0)\r\n",
 			counter->new_msgs, counter->old_msgs);
 
 	return 0;

Modified: team/mmichelson/pubsub_bodies/res/res_pjsip_xpidf_body_generator.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/pubsub_bodies/res/res_pjsip_xpidf_body_generator.c?view=diff&rev=406305&r1=406304&r2=406305
==============================================================================
--- team/mmichelson/pubsub_bodies/res/res_pjsip_xpidf_body_generator.c (original)
+++ team/mmichelson/pubsub_bodies/res/res_pjsip_xpidf_body_generator.c Thu Jan 23 15:29:02 2014
@@ -64,7 +64,7 @@
 	ast_sip_presence_exten_state_to_str(state_data->exten_state, &statestring,
 			&pidfstate, &pidfnote, &local_state);
 
-	ast_sip_presence_xml_find_node_attr(state_data->pool, pres, "atom", "id", 
+	ast_sip_presence_xml_find_node_attr(state_data->pool, pres, "atom", "id",
 			&atom, &attr);
 	pj_strdup2(state_data->pool, &attr->value, state_data->exten);
 
@@ -113,7 +113,7 @@
 			return;
 		}
 	} while (size < 0 && growths < MAX_STRING_GROWTHS);
-	
+
 	if (size < 0) {
 		ast_log(LOG_WARNING, "XPIDF body text too large\n");
 		return;




More information about the svn-commits mailing list