Navigation



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/rgwx_echodrop.c

    r741 r974  
    6060        TRACE_ENTRY("%p %p", conffile, state);
    6161        CHECK_PARAMS( state );
    62         CHECK_PARAMS_DO( conffile, { fd_log_debug("[echodrop.rgwx] The configuration file is not optional for this plugin.\n"); return EINVAL; } );
     62        CHECK_PARAMS_DO( conffile, { fd_log_debug("[echodrop.rgwx] The configuration file is not optional for this plugin."); return EINVAL; } );
    6363       
    6464        CHECK_MALLOC( new = malloc(sizeof(struct rgwp_config)) );
     
    8282                        char * act = (eca->action == ACT_ECHO) ? "ECHO" : "DROP";
    8383                        if (eca->ext) {
    84                                 fd_log_debug("  %s Code: %hhu, Vendor: %u, Ext-Type: %hu\n", act, eca->code, eca->vendor_id, eca->extype);
     84                                fd_log_debug("  %s Code: %hhu, Vendor: %u, Ext-Type: %hu", act, eca->code, eca->vendor_id, eca->extype);
    8585                                continue;
    8686                        }
    8787                        if (eca->tlv) {
    88                                 fd_log_debug("  %s Code: %hhu, Vendor: %u, Type: %hhu\n", act, eca->code, eca->vendor_id, eca->type);
     88                                fd_log_debug("  %s Code: %hhu, Vendor: %u, Type: %hhu", act, eca->code, eca->vendor_id, eca->type);
    8989                                continue;
    9090                        }
    9191                        if (eca->vsa) {
    92                                 fd_log_debug("  %s Code: %hhu, Vendor: %u\n", act, eca->code, eca->vendor_id);
    93                                 continue;
    94                         }
    95                         fd_log_debug("  %s Code: %hhu\n", act, eca->code);
     92                                fd_log_debug("  %s Code: %hhu, Vendor: %u", act, eca->code, eca->vendor_id);
     93                                continue;
     94                        }
     95                        fd_log_debug("  %s Code: %hhu", act, eca->code);
    9696                }
    9797        }
     
    186186                        if (eca->ext) {
    187187                                /* To be done */
    188                                 fd_log_debug("Extended attributes are not implemented yet!\n");
     188                                fd_log_debug("Extended attributes are not implemented yet!");
    189189                                ASSERT(0);
    190190                                continue;
     
    219219                CHECK_PARAMS_DO(*session,
    220220                        {
    221                                 fd_log_debug(   "[echodrop.rgwx] The extension is configured to echo some attributes from this message, but no session object has been created for it (yet).\n"
     221                                fd_log_debug(   "[echodrop.rgwx] The extension is configured to echo some attributes from this message, but no session object has been created for it (yet)."
    222222                                                "  Please check your configuration file and include a session-generating extension BEFORE calling echodrop.rgwx to echo attributes.\n"
    223223                                                "  Please use debug.rgwx to retrieve more information.\n" );
Note: See TracChangeset for help on using the changeset viewer.