Return the error code instead of success.
This commit is contained in:
parent
55a0a3fe0f
commit
f3b8d9da21
@ -459,7 +459,7 @@ uwatec_smart_device_foreach (device_t *abstract, dive_callback_t callback, void
|
|||||||
|
|
||||||
dc_buffer_free (buffer);
|
dc_buffer_free (buffer);
|
||||||
|
|
||||||
return DEVICE_STATUS_SUCCESS;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user