Navigation


Changeset 974:2091bf698fb1 in freeDiameter for extensions/app_radgw/rgw_conf.y


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_conf.y

    r741 r974  
    6969        if (rgw_confin == NULL) {
    7070                ret = errno;
    71                 fd_log_debug("Unable to open extension configuration file %s for reading: %s\n", conffile, strerror(ret));
     71                fd_log_debug("Unable to open extension configuration file %s for reading: %s", conffile, strerror(ret));
    7272                return ret;
    7373        }
     
    9191{
    9292        if (ploc->first_line != ploc->last_line)
    93                 fd_log_debug("%s:%d.%d-%d.%d : %s\n", conffile, ploc->first_line, ploc->first_column, ploc->last_line, ploc->last_column, s);
     93                fd_log_debug("%s:%d.%d-%d.%d : %s", conffile, ploc->first_line, ploc->first_column, ploc->last_line, ploc->last_column, s);
    9494        else if (ploc->first_column != ploc->last_column)
    95                 fd_log_debug("%s:%d.%d-%d : %s\n", conffile, ploc->first_line, ploc->first_column, ploc->last_column, s);
     95                fd_log_debug("%s:%d.%d-%d : %s", conffile, ploc->first_line, ploc->first_column, ploc->last_column, s);
    9696        else
    97                 fd_log_debug("%s:%d.%d : %s\n", conffile, ploc->first_line, ploc->first_column, s);
     97                fd_log_debug("%s:%d.%d : %s", conffile, ploc->first_line, ploc->first_column, s);
    9898}
    9999
     
    111111                rez = realloc(buf, buf_rsz);
    112112                if (rez == NULL) {
    113                         fd_log_debug("Error on memory allocation: %s\n", strerror(errno));
     113                        fd_log_debug("Error on memory allocation: %s", strerror(errno));
    114114                        return 0;
    115115                }
     
    198198                                if (fd == NULL) {
    199199                                        int ret = errno;
    200                                         TRACE_DEBUG(INFO, "Unable to open file %s for reading: %s\n", fname, strerror(ret));
     200                                        TRACE_DEBUG(INFO, "Unable to open file %s for reading: %s", fname, strerror(ret));
    201201                                        yyerror (&yylloc, conffile, "Error adding plugin");
    202202                                        YYERROR;
Note: See TracChangeset for help on using the changeset viewer.