Return the error code instead of success.

This commit is contained in:
Jef Driesen 2010-12-17 21:40:45 +01:00
parent 55a0a3fe0f
commit f3b8d9da21

View File

@ -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;
}