Changeset 974:2091bf698fb1 in freeDiameter for extensions/rt_ereg/rtereg_conf.l
- Timestamp:
- Mar 15, 2013, 2:14:35 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rt_ereg/rtereg_conf.l
r741 r974 81 81 CHECK_MALLOC_DO( yylval->string = strdup(yytext+1), 82 82 { 83 TRACE_DEBUG(INFO, "Unable to copy the string '%s': %s \n", yytext, strerror(errno));83 TRACE_DEBUG(INFO, "Unable to copy the string '%s': %s", yytext, strerror(errno)); 84 84 return LEX_ERROR; /* trig an error in yacc parser */ 85 85 } ); … … 96 96 if (ret != 1) { 97 97 /* No matching: an error occurred */ 98 fd_log_debug("Unable to convert the value '%s' to a valid number: %s \n", yytext, strerror(errno));98 fd_log_debug("Unable to convert the value '%s' to a valid number: %s", yytext, strerror(errno)); 99 99 return LEX_ERROR; /* trig an error in yacc parser */ 100 100 /* Maybe we could REJECT instead of failing here? */ … … 113 113 /* Unrecognized sequence, if it did not match any previous pattern */ 114 114 [^[:space:]\":=+;\n]+ { 115 fd_log_debug("Unrecognized text on line %d col %d: '%s'. \n", yylloc->first_line, yylloc->first_column, yytext);115 fd_log_debug("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_column, yytext); 116 116 return LEX_ERROR; 117 117 }
Note: See TracChangeset
for help on using the changeset viewer.