Skip to content

Commit 598a7ea

Browse files
gromandreasjengelh
authored andcommitted
nsp: add ecSuccess condition check in nsp_interface_get_props
Fixes: gromox-2.15-5-g3319134b8
1 parent 40eae28 commit 598a7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exch/nsp/nsp_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ int nsp_interface_get_props(NSPI_HANDLE handle, uint32_t flags,
17951795
}
17961796
}
17971797
}
1798-
if (result == ecWarnWithErrors)
1798+
if (result == ecSuccess || result == ecWarnWithErrors)
17991799
*pprows = rowset;
18001800
NSP_ROWSET rs = {*pprows != nullptr ? 1U : 0U, *pprows};
18011801
nsp_trace(__func__, 1, pstat, nullptr, &rs);

0 commit comments

Comments
 (0)