mirror of https://github.com/ecmwf/eccodes.git
Debugging
This commit is contained in:
parent
d78693bb34
commit
63afc5af33
|
@ -50,7 +50,7 @@ static grib_handle* try_template(grib_context* c, const char* dir, const char* n
|
|||
|
||||
sprintf(path, "%s/%s.tmpl", dir, name);
|
||||
|
||||
if (c->debug == -1) {
|
||||
if (c->debug) {
|
||||
fprintf(stderr, "ECCODES DEBUG: try_template path='%s'\n", path);
|
||||
}
|
||||
|
||||
|
@ -78,7 +78,7 @@ static grib_handle* try_bufr_template(grib_context* c, const char* dir, const ch
|
|||
|
||||
sprintf(path, "%s/%s.tmpl", dir, name);
|
||||
|
||||
if (c->debug == -1) {
|
||||
if (c->debug) {
|
||||
fprintf(stderr, "ECCODES DEBUG: try_template path='%s'\n", path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue