Skip to content

Commit

Permalink
nsp: add ecSuccess condition check in nsp_interface_get_props
Browse files Browse the repository at this point in the history
Fixes: gromox-2.15-5-g3319134b8
  • Loading branch information
gromandreas authored and jengelh committed Oct 27, 2023
1 parent 40eae28 commit 598a7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exch/nsp/nsp_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,7 @@ int nsp_interface_get_props(NSPI_HANDLE handle, uint32_t flags,
}
}
}
if (result == ecWarnWithErrors)
if (result == ecSuccess || result == ecWarnWithErrors)
*pprows = rowset;
NSP_ROWSET rs = {*pprows != nullptr ? 1U : 0U, *pprows};
nsp_trace(__func__, 1, pstat, nullptr, &rs);
Expand Down

0 comments on commit 598a7ea

Please sign in to comment.