1
1
Этот коммит содержится в:
Ralph Castain 2016-02-19 15:05:39 -08:00
родитель 1f7e2d7d41
Коммит 8c92a179c0

Просмотреть файл

@ -1,6 +1,6 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
* Copyright (c) 2014-2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2014 Artem Y. Polyakov <artpol84@gmail.com>.
@ -169,10 +169,14 @@ static void job_data(struct pmix_peer_t *pr, pmix_usock_hdr_t *hdr,
/* unpack the nspace - we don't really need it, but have to
* unpack it to maintain sequence */
if (PMIX_SUCCESS != (rc = pmix_bfrop.unpack(buf, &nspace, &cnt, PMIX_STRING))) {
nspace = NULL;
if (PMIX_SUCCESS != (rc = pmix_bfrop.unpack(buf, &nspace, &cnt, PMIX_STRING))) {
PMIX_ERROR_LOG(rc);
return;
}
if (NULL != nspace) {
free(nspace);
}
/* decode it */
pmix_client_process_nspace_blob(pmix_globals.myid.nspace, buf);
cb->status = PMIX_SUCCESS;