| 1698 | | if ((tmp = launch_data_dict_lookup(pload, LAUNCH_JOBKEY_LABEL)) && |
| 1699 | | (launch_data_get_type(tmp) == LAUNCH_DATA_STRING)) { |
| 1700 | | if (!(label = launch_data_get_string(tmp))) { |
| 1701 | | errno = EINVAL; |
| 1702 | | return NULL; |
| 1703 | | } |
| | 1699 | if (!(tmp = launch_data_dict_lookup(pload, LAUNCH_JOBKEY_LABEL))) { |
| | 1700 | errno = EINVAL; |
| | 1701 | return NULL; |
| | 1702 | } |
| | 1703 | |
| | 1704 | if (launch_data_get_type(tmp) != LAUNCH_DATA_STRING) { |
| | 1705 | errno = EINVAL; |
| | 1706 | return NULL; |
| | 1707 | } |
| | 1708 | |
| | 1709 | if (!(label = launch_data_get_string(tmp))) { |
| | 1710 | errno = EINVAL; |
| | 1711 | return NULL; |