Skip to content
Snippets Groups Projects
Commit 5d46cd59 authored by Moe Jette's avatar Moe Jette
Browse files

no change in logic, just split up long lines

parent 441c691c
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
* any later version.
*
* In addition, as a special exception, the copyright holders give permission
* to link the code of portions of this program with the OpenSSL library under
* to link the code of portions of this program with the OpenSSL library under
* certain conditions as described in each individual source file, and
* distribute linked combinations including the two. You must obey the GNU
* General Public License in all respects for all of the code used other than
......@@ -1639,7 +1639,8 @@ spank_err_t spank_get_item(spank_t spank, spank_item_t item, ...)
p2uint32 = va_arg(vargs, uint32_t *);
if (spank_ctx == S_TYPE_LOCAL) {
if (launcher_job->step_layout)
*p2uint32 = launcher_job->step_layout->node_cnt;
*p2uint32 = launcher_job->step_layout->
node_cnt;
else {
*p2uint32 = 0;
rc = ESPANK_ENV_NOEXIST;
......@@ -1659,7 +1660,8 @@ spank_err_t spank_get_item(spank_t spank, spank_item_t item, ...)
p2uint32 = va_arg(vargs, uint32_t *);
if (spank_ctx == S_TYPE_LOCAL) {
if (launcher_job->step_layout)
*p2uint32 = launcher_job->step_layout->task_cnt;
*p2uint32 = launcher_job->step_layout->
task_cnt;
else {
*p2uint32 = 0;
rc = ESPANK_ENV_NOEXIST;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment