Changeset 974:2091bf698fb1 in freeDiameter for extensions/app_sip/app_sip.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_sip/app_sip.l
r740 r974 79 79 if (ret != 1) { 80 80 /* No matching: an error occurred */ 81 fd_log_debug("Unable to convert the value '%s' to a valid number: %s \n", yytext, strerror(errno));81 fd_log_debug("Unable to convert the value '%s' to a valid number: %s", yytext, strerror(errno)); 82 82 return LEX_ERROR; /* trig an error in yacc parser */ 83 83 /* Maybe we could REJECT instead of failing here? */ … … 91 91 yylval->string = strdup(yytext+1); 92 92 if (!yylval->string) { 93 fd_log_debug("Unable to copy the string '%s': %s \n", yytext, strerror(errno));93 fd_log_debug("Unable to copy the string '%s': %s", yytext, strerror(errno)); 94 94 TRACE_DEBUG(INFO, "strdup failed"); 95 95 return LEX_ERROR; /* trig an error in yacc parser */ … … 156 156 /* Unrecognized sequence, if it did not match any previous pattern */ 157 157 [^[:space:]"*=>;\n]+ { 158 fd_log_debug("Unrecognized text on line %d col %d: '%s'. \n", yylloc->first_line, yylloc->first_column, yytext);158 fd_log_debug("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_column, yytext); 159 159 return LEX_ERROR; 160 160 }
Note: See TracChangeset
for help on using the changeset viewer.