Changeset 974:2091bf698fb1 in freeDiameter for extensions/app_redirect/ard_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/app_redirect/ard_conf.l
r740 r974 82 82 if (ret != 1) { 83 83 /* No matching: an error occurred */ 84 fd_log_debug("Unable to convert the value '%s' to a valid number: %s \n", yytext, strerror(errno));84 fd_log_debug("Unable to convert the value '%s' to a valid number: %s", yytext, strerror(errno)); 85 85 return TOK_LEX_ERROR; /* trig an error in yacc parser */ 86 86 /* Maybe we could REJECT instead of failing here? */ … … 94 94 CHECK_MALLOC_DO( yylval->tstring.str = strdup(yytext+2), 95 95 { 96 TRACE_DEBUG(INFO, "Unable to copy the string '%s': %s \n", yytext, strerror(errno));96 TRACE_DEBUG(INFO, "Unable to copy the string '%s': %s", yytext, strerror(errno)); 97 97 return TOK_LEX_ERROR; /* trig an error in yacc parser */ 98 98 } ); … … 107 107 CHECK_MALLOC_DO( yylval->tstring.str = strdup(yytext+1), 108 108 { 109 TRACE_DEBUG(INFO, "Unable to copy the string '%s': %s \n", yytext, strerror(errno));109 TRACE_DEBUG(INFO, "Unable to copy the string '%s': %s", yytext, strerror(errno)); 110 110 return TOK_LEX_ERROR; /* trig an error in yacc parser */ 111 111 } ); … … 134 134 /* Unrecognized sequence, if it did not match any previous pattern */ 135 135 [^[:space:]\":=;\n]+ { 136 fd_log_debug("Unrecognized text on line %d col %d: '%s'. \n", yylloc->first_line, yylloc->first_column, yytext);136 fd_log_debug("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_column, yytext); 137 137 return TOK_LEX_ERROR; 138 138 }
Note: See TracChangeset
for help on using the changeset viewer.