Navigation


Changeset 974:2091bf698fb1 in freeDiameter for libfdcore/fdd.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
  • libfdcore/fdd.y

    r969 r974  
    6363{
    6464        if (ploc->first_line != ploc->last_line) {
    65                 TRACE_ERROR("%s:%d.%d-%d.%d : %s\n", conf->cnf_file, ploc->first_line, ploc->first_column, ploc->last_line, ploc->last_column, s);
     65                TRACE_ERROR("%s:%d.%d-%d.%d : %s", conf->cnf_file, ploc->first_line, ploc->first_column, ploc->last_line, ploc->last_column, s);
    6666        } else if (ploc->first_column != ploc->last_column) {
    67                 TRACE_ERROR("%s:%d.%d-%d : %s\n", conf->cnf_file, ploc->first_line, ploc->first_column, ploc->last_column, s);
     67                TRACE_ERROR("%s:%d.%d-%d : %s", conf->cnf_file, ploc->first_line, ploc->first_column, ploc->last_column, s);
    6868        } else {
    69                 TRACE_ERROR("%s:%d.%d : %s\n", conf->cnf_file, ploc->first_line, ploc->first_column, s);
     69                TRACE_ERROR("%s:%d.%d : %s", conf->cnf_file, ploc->first_line, ploc->first_column, s);
    7070        }
    7171}
     
    504504                                if (fd == NULL) {
    505505                                        int ret = errno;
    506                                         TRACE_ERROR("Unable to open certificate file %s for reading: %s\n", $3, strerror(ret));
     506                                        TRACE_ERROR("Unable to open certificate file %s for reading: %s", $3, strerror(ret));
    507507                                        yyerror (&yylloc, conf, "Error on file name");
    508508                                        YYERROR;
     
    512512                                if (fd == NULL) {
    513513                                        int ret = errno;
    514                                         TRACE_ERROR("Unable to open private key file %s for reading: %s\n", $5, strerror(ret));
     514                                        TRACE_ERROR("Unable to open private key file %s for reading: %s", $5, strerror(ret));
    515515                                        yyerror (&yylloc, conf, "Error on file name");
    516516                                        YYERROR;
     
    535535                                if (fd == NULL) {
    536536                                        int ret = errno;
    537                                         TRACE_ERROR("Unable to open CA file %s for reading: %s\n", $3, strerror(ret));
     537                                        TRACE_ERROR("Unable to open CA file %s for reading: %s", $3, strerror(ret));
    538538                                        yyerror (&yylloc, conf, "Error on file name");
    539539                                        YYERROR;
     
    575575                                if (fd == NULL) {
    576576                                        int ret = errno;
    577                                         TRACE_ERROR("Unable to open CRL file %s for reading: %s\n", $3, strerror(ret));
     577                                        TRACE_ERROR("Unable to open CRL file %s for reading: %s", $3, strerror(ret));
    578578                                        yyerror (&yylloc, conf, "Error on file name");
    579579                                        YYERROR;
     
    618618                                                        &err_pos),
    619619                                                { yyerror (&yylloc, conf, "Error setting Priority parameter.");
    620                                                   TRACE_ERROR("Error at position : %s\n", err_pos);
     620                                                  TRACE_ERROR("Error at position : %s", err_pos);
    621621                                                  YYERROR; } );
    622622                        }
     
    635635                                if (fd == NULL) {
    636636                                        int ret = errno;
    637                                         TRACE_ERROR("Unable to open DH file %s for reading: %s\n", $3, strerror(ret));
     637                                        TRACE_ERROR("Unable to open DH file %s for reading: %s", $3, strerror(ret));
    638638                                        yyerror (&yylloc, conf, "Error on file name");
    639639                                        YYERROR;
Note: See TracChangeset for help on using the changeset viewer.