File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1010 * Copyright (c) 2004-2005 The Regents of the University of California.
1111 * All rights reserved.
1212 * Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
13- * Copyright (c) 2015 Research Organization for Information Science
13+ * Copyright (c) 2015-2017 Research Organization for Information Science
1414 * and Technology (RIST). All rights reserved.
1515 * $COPYRIGHT$
1616 *
@@ -289,7 +289,7 @@ int opal_value_unload(opal_value_t *kv,
289289 return OPAL_ERR_TYPE_MISMATCH ;
290290 }
291291 if (NULL == data ||
292- (NULL == * data && OPAL_STRING != type && OPAL_BYTE_OBJECT != type )) {
292+ (OPAL_STRING != type && OPAL_BYTE_OBJECT != type && NULL == * data )) {
293293 OPAL_ERROR_LOG (OPAL_ERR_BAD_PARAM );
294294 return OPAL_ERR_BAD_PARAM ;
295295 }
You can’t perform that action at this time.
0 commit comments