diff --git a/src/uwatec_smart.c b/src/uwatec_smart.c index aeb39b1..8292677 100644 --- a/src/uwatec_smart.c +++ b/src/uwatec_smart.c @@ -459,7 +459,7 @@ uwatec_smart_device_foreach (device_t *abstract, dive_callback_t callback, void dc_buffer_free (buffer); - return DEVICE_STATUS_SUCCESS; + return rc; }