Navigation


Changeset 974:2091bf698fb1 in freeDiameter for extensions/test_app/ta_conf.l


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/test_app/ta_conf.l

    r740 r974  
    8181                                if (ret != 1) {
    8282                                        /* No matching: an error occurred */
    83                                         fd_log_debug("Unable to convert the value '%s' to a valid number: %s\n", yytext, strerror(errno));
     83                                        fd_log_debug("Unable to convert the value '%s' to a valid number: %s", yytext, strerror(errno));
    8484                                        return LEX_ERROR; /* trig an error in yacc parser */
    8585                                        /* Maybe we could REJECT instead of failing here? */
     
    9393                                yylval->string = strdup(yytext+1);
    9494                                if (!yylval->string) {
    95                                         fd_log_debug("Unable to copy the string '%s': %s\n", yytext, strerror(errno));
     95                                        fd_log_debug("Unable to copy the string '%s': %s", yytext, strerror(errno));
    9696                                        TRACE_DEBUG(INFO, "strdup failed");
    9797                                        return LEX_ERROR; /* trig an error in yacc parser */
     
    163163        /* Unrecognized sequence, if it did not match any previous pattern */
    164164[^[:space:]"*=>;\n]+    {
    165                                 fd_log_debug("Unrecognized text on line %d col %d: '%s'.\n", yylloc->first_line, yylloc->first_column, yytext);
     165                                fd_log_debug("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_column, yytext);
    166166                                return LEX_ERROR;
    167167                        }
Note: See TracChangeset for help on using the changeset viewer.