mirror of https://github.com/ecmwf/eccodes.git
ECC-155: Crash: calling codes_dump from Fortran
This commit is contained in:
parent
ef49680f11
commit
edbd068a42
|
@ -1596,7 +1596,7 @@ int grib_f_dump_(int* gid){
|
|||
if(!h)
|
||||
return GRIB_INVALID_GRIB;
|
||||
else
|
||||
grib_dump_content(h,stdout,NULL,0,NULL);
|
||||
grib_dump_content(h,stdout,"wmo",0,NULL);
|
||||
|
||||
return GRIB_SUCCESS;
|
||||
}
|
||||
|
|
|
@ -1153,7 +1153,7 @@ int grib_c_dump(int* gid){
|
|||
if(!h)
|
||||
return GRIB_INVALID_GRIB;
|
||||
else
|
||||
grib_dump_content(h,stdout,NULL,0,NULL);
|
||||
grib_dump_content(h,stdout,"wmo",0,NULL);
|
||||
|
||||
return GRIB_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue