Author: dlee
Date: Fri Jan 23 09:56:55 2015
New Revision: 431021

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=431021
Log:
Removed bogus comments; added error logging

Modified:
    team/dlee/amqp-cdr-cel/cdr/cdr_amqp.c
    team/dlee/amqp-cdr-cel/cel/cel_amqp.c

Modified: team/dlee/amqp-cdr-cel/cdr/cdr_amqp.c
URL: 
http://svnview.digium.com/svn/asterisk/team/dlee/amqp-cdr-cel/cdr/cdr_amqp.c?view=diff&rev=431021&r1=431020&r2=431021
==============================================================================
--- team/dlee/amqp-cdr-cel/cdr/cdr_amqp.c (original)
+++ team/dlee/amqp-cdr-cel/cdr/cdr_amqp.c Fri Jan 23 09:56:55 2015
@@ -34,12 +34,6 @@
                <configFile name="cdr_amqp.conf">
                        <configObject name="global">
                                <synopsis>Global configuration 
settings</synopsis>
-                               <configOption name="loguniqueid">
-                                       <synopsis></synopsis>
-                                       <description>
-                                               <para></para>
-                                       </description>
-                               </configOption>
                                <configOption name="loguniqueid">
                                        <synopsis>Determines whether to log the 
uniqueid for calls</synopsis>
                                        <description>
@@ -270,6 +264,7 @@
        /* Dump the JSON to a string for publication */
        str = ast_json_dump_string(json);
        if (!str) {
+               ast_log(LOG_ERROR, "Failed to build string from JSON\n");
                return -1;
        }
 

Modified: team/dlee/amqp-cdr-cel/cel/cel_amqp.c
URL: 
http://svnview.digium.com/svn/asterisk/team/dlee/amqp-cdr-cel/cel/cel_amqp.c?view=diff&rev=431021&r1=431020&r2=431021
==============================================================================
--- team/dlee/amqp-cdr-cel/cel/cel_amqp.c (original)
+++ team/dlee/amqp-cdr-cel/cel/cel_amqp.c Fri Jan 23 09:56:55 2015
@@ -34,12 +34,6 @@
                <configFile name="cel_amqp.conf">
                        <configObject name="global">
                                <synopsis>Global configuration 
settings</synopsis>
-                               <configOption name="loguniqueid">
-                                       <synopsis></synopsis>
-                                       <description>
-                                               <para></para>
-                                       </description>
-                               </configOption>
                                <configOption name="connection">
                                        <synopsis>Name of the connection from 
amqp.conf to use</synopsis>
                                        <description>
@@ -274,6 +268,7 @@
        /* Dump the JSON to a string for publication */
        str = ast_json_dump_string(json);
        if (!str) {
+               ast_log(LOG_ERROR, "Failed to build string from JSON\n");
                return;
        }
 


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to