Navigation


Changeset 974:2091bf698fb1 in freeDiameter for extensions/app_radgw/rgw_worker.c


Ignore:
Timestamp:
Mar 15, 2013, 2:14:35 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Remove newlines from fd_log_debug, TRACE_DEBUG, TRACE_ERROR, and TRACE_DEBUG_ERROR
(as far as sed could find them)
with manual fixing afterwards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgw_worker.c

    r767 r974  
    163163                /* Check the created Diameter message -- it will be invalid if no callback has handled the RADIUS message */
    164164                if ((diam_msg == NULL) || ( fd_msg_parse_rules(diam_msg, fd_g_config->cnf_dict, NULL) ) ) {
    165                         fd_log_debug("[radgw] No or invalid Diameter message was generated after processing the RADIUS command %hhd (%s).\n"
     165                        fd_log_debug("[radgw] No or invalid Diameter message was generated after processing the RADIUS command %hhd (%s)."
    166166                                        " It may indicate a gateway configuration problem, or implementation issue in a plugin.\n",
    167167                                        msg->radius.hdr->code, rgw_msg_code_str(msg->radius.hdr->code));
     
    174174                        struct radius_attr_hdr *attr = (struct radius_attr_hdr *)(msg->radius.buf + msg->radius.attr_pos[a]);
    175175                        pb++;
    176                         fd_log_debug("[radgw] No plugin available to handle attribute %hhd (%s) in command %hhd (%s)! Translation aborted.\n",
     176                        fd_log_debug("[radgw] No plugin available to handle attribute %hhd (%s) in command %hhd (%s)! Translation aborted.",
    177177                                        attr->type, rgw_msg_attrtype_str(attr->type),
    178178                                        msg->radius.hdr->code, rgw_msg_code_str(msg->radius.hdr->code));
     
    193193                        rgw_clients_dispose(&cli);
    194194                       
    195                         TRACE_DEBUG(INFO, "%d problem(s) occurred while translating a RADIUS message, data discarded.\n", pb);
     195                        TRACE_DEBUG(INFO, "%d problem(s) occurred while translating a RADIUS message, data discarded.", pb);
    196196                        continue;
    197197                }
     
    207207                        {
    208208                                /* If an error occurs, log and destroy the data */
    209                                 fd_log_debug("An error occurred while sending Diameter message, please turn Debug on for detail.\n");
     209                                fd_log_debug("An error occurred while sending Diameter message, please turn Debug on for detail.");
    210210                                if (session) {
    211211                                        CHECK_FCT_DO( fd_sess_destroy(&session), );
Note: See TracChangeset for help on using the changeset viewer.