handle errors from widget addition (AFL)

This commit is contained in:
Marcus Meissner
2017-02-28 21:42:05 +01:00
parent dbf72fbb5d
commit 41d93d60c2

View File

@@ -2614,7 +2614,7 @@ _get_Milliseconds(CONFIG_GET_ARGS) {
if ( ((dpd->DataType == PTP_DTC_UINT32) && (dpd->CurrentValue.u32 == i)) ||
((dpd->DataType == PTP_DTC_UINT16) && (dpd->CurrentValue.u16 == i))
)
gp_widget_set_value (*widget, buf);
CR (gp_widget_set_value (*widget, buf));
/* device might report stepsize 0. but we do at least 1 round */
if (s == 0)