Changeset 965:9b37f34c1b1f in freeDiameter for libfdcore/fdd.y
- Timestamp:
- Mar 13, 2013, 1:23:37 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/fdd.y
r964 r965 63 63 { 64 64 if (ploc->first_line != ploc->last_line) { 65 TRACE_ DEBUG_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\n", conf->cnf_file, ploc->first_line, ploc->first_column, ploc->last_line, ploc->last_column, s); 66 66 } else if (ploc->first_column != ploc->last_column) { 67 TRACE_ DEBUG_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\n", conf->cnf_file, ploc->first_line, ploc->first_column, ploc->last_column, s); 68 68 } else { 69 TRACE_ DEBUG_ERROR("%s:%d.%d : %s\n", conf->cnf_file, ploc->first_line, ploc->first_column, s);69 TRACE_ERROR("%s:%d.%d : %s\n", conf->cnf_file, ploc->first_line, ploc->first_column, s); 70 70 } 71 71 } … … 328 328 if (fd == NULL) { 329 329 int ret = errno; 330 TRACE_ DEBUG_ERROR("WARNING: Unable to open extension file %s for reading: %s\nLD_LIBRARY_PATH will be used.\n", fname, strerror(ret));330 TRACE_ERROR("WARNING: Unable to open extension file %s for reading: %s\nLD_LIBRARY_PATH will be used.\n", fname, strerror(ret)); 331 331 } else { 332 332 fclose(fd); … … 501 501 if (fd == NULL) { 502 502 int ret = errno; 503 TRACE_ DEBUG_ERROR("Unable to open certificate file %s for reading: %s\n", $3, strerror(ret));503 TRACE_ERROR("Unable to open certificate file %s for reading: %s\n", $3, strerror(ret)); 504 504 yyerror (&yylloc, conf, "Error on file name"); 505 505 YYERROR; … … 509 509 if (fd == NULL) { 510 510 int ret = errno; 511 TRACE_ DEBUG_ERROR("Unable to open private key file %s for reading: %s\n", $5, strerror(ret));511 TRACE_ERROR("Unable to open private key file %s for reading: %s\n", $5, strerror(ret)); 512 512 yyerror (&yylloc, conf, "Error on file name"); 513 513 YYERROR; … … 532 532 if (fd == NULL) { 533 533 int ret = errno; 534 TRACE_ DEBUG_ERROR("Unable to open CA file %s for reading: %s\n", $3, strerror(ret));534 TRACE_ERROR("Unable to open CA file %s for reading: %s\n", $3, strerror(ret)); 535 535 yyerror (&yylloc, conf, "Error on file name"); 536 536 YYERROR; … … 572 572 if (fd == NULL) { 573 573 int ret = errno; 574 TRACE_ DEBUG_ERROR("Unable to open CRL file %s for reading: %s\n", $3, strerror(ret));574 TRACE_ERROR("Unable to open CRL file %s for reading: %s\n", $3, strerror(ret)); 575 575 yyerror (&yylloc, conf, "Error on file name"); 576 576 YYERROR; … … 615 615 &err_pos), 616 616 { yyerror (&yylloc, conf, "Error setting Priority parameter."); 617 TRACE_ DEBUG_ERROR("Error at position : %s\n", err_pos);617 TRACE_ERROR("Error at position : %s\n", err_pos); 618 618 YYERROR; } ); 619 619 } … … 632 632 if (fd == NULL) { 633 633 int ret = errno; 634 TRACE_ DEBUG_ERROR("Unable to open DH file %s for reading: %s\n", $3, strerror(ret));634 TRACE_ERROR("Unable to open DH file %s for reading: %s\n", $3, strerror(ret)); 635 635 yyerror (&yylloc, conf, "Error on file name"); 636 636 YYERROR;
Note: See TracChangeset
for help on using the changeset viewer.