Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csp_if_zmqhub: Handle return value of csp_iflist_add for error checking
Update the code to capture the return value of `csp_iflist_add` in the variable `ret`. This allows for proper error handling by ensuring that the result of `csp_iflist_add` is returned by the function. Previously, the return value was ignored, which could lead to missing critical error information. The return value is now used to confirm successful interface addition, and if an error occurs, it can be properly propagated. Signed-off-by: Gaetan Perrot <[email protected]>
- Loading branch information