if (ret == 4) {
if (!trimmer->date) {
/* We don't know which day until we get an event. */
- result_bound->lazy_values.hh = hh;
+ result_bound->lazy_value.hh = hh;
result_bound->lazy_values.mm = mm;
result_bound->lazy_values.ss = ss;
result_bound->lazy_values.ns = ns;
if (ret == 3) {
if (!trimmer->date) {
/* We don't know which day until we get an event. */
- result_bound->lazy_values.hh = hh;
+ result_bound->lazy_value.hh = hh;
result_bound->lazy_values.mm = mm;
result_bound->lazy_values.ss = ss;
result_bound->lazy_values.ns = 0;
goto end;
}
- BT_OBJECT_PUT_REF_AND_RESET(value);
+ BT_VALUE_PUT_REF_AND_RESET(value);
value = bt_value_map_get(params, "begin");
if (value) {
if (timestamp_from_param("begin", value,
}
}
- BT_OBJECT_PUT_REF_AND_RESET(value);
+ BT_VALUE_PUT_REF_AND_RESET(value);
value = bt_value_map_get(params, "end");
if (value) {
if (timestamp_from_param("end", value,
}
end:
- bt_object_put_ref(value);
+ bt_value_put_ref(value);
if (trimmer->begin.set && trimmer->end.set) {
if (trimmer->begin.value > trimmer->end.value) {