mirror of https://github.com/ecmwf/eccodes.git
Fix parameter name
This commit is contained in:
parent
69c393b4b0
commit
ddf8496876
|
@ -1585,8 +1585,8 @@ end subroutine codes_get_string_array
|
|||
!> @param key key name
|
||||
!> @param value string array value
|
||||
!> @param status CODES_SUCCESS if OK, integer value on error
|
||||
subroutine codes_set_string_array ( gribid, key, value, status )
|
||||
integer(kind=kindOfInt), intent(in) :: gribid
|
||||
subroutine codes_set_string_array ( msgid, key, value, status )
|
||||
integer(kind=kindOfInt), intent(in) :: msgid
|
||||
character(len=*), intent(in) :: key
|
||||
character(len=*), dimension(:),allocatable, intent(in) :: value
|
||||
integer(kind=kindOfInt),optional, intent(out) :: status
|
||||
|
@ -1607,10 +1607,10 @@ subroutine codes_set_string_array ( gribid, key, value, status )
|
|||
j=j+slen
|
||||
enddo
|
||||
|
||||
iret=grib_f_set_string_array ( gribid, key, cvalue , nb_values, slen )
|
||||
iret=grib_f_set_string_array ( msgid, key, cvalue , nb_values, slen )
|
||||
|
||||
if (iret /= 0) then
|
||||
call grib_f_write_on_fail(gribid)
|
||||
call grib_f_write_on_fail(msgid)
|
||||
endif
|
||||
if (present(status)) then
|
||||
status = iret
|
||||
|
|
Loading…
Reference in New Issue