return NNS_EDGE_ERROR_INVALID_PARAMETER;
}
- if (!key) {
+ if (!STR_IS_VALID (key)) {
nns_edge_loge
("The parameter, 'key' is NULL. It should be a valid const char*");
return NNS_EDGE_ERROR_INVALID_PARAMETER;
}
- if (!value) {
+ if (!STR_IS_VALID (value)) {
nns_edge_loge
("The parameter, 'value' is NULL. It should be a valid const char*");
return NNS_EDGE_ERROR_INVALID_PARAMETER;
return NULL;
}
- if (!key) {
+ if (!STR_IS_VALID (key)) {
nns_edge_loge
("The parameter, 'key' is NULL. It should be a valid const char*");
return NULL;
return aitt_option_get (ah->option, aitt_opt);
}
-
/**
* @brief Create AITT handle.
*/