db: fix dbChannel_put() for DBR_TIME_STRING

DBR_TIME is the option mask 0x10 from dbAccessDefs.h, not a field data type
This commit is contained in:
Ralph Lange authored and Dirk Zimoch committed 2026-11-03 16:18:06 +01:00
1 parent 8c6e51e0cc
commit 5195d455f4
1 file changed
+1 -1
+1 -1
View File
@@ -877,7 +877,7 @@ int dbChannel_put(struct dbChannel *chan, int src_type,
break;
case(oldDBR_TIME_STRING):
status = dbChannelPutField(chan, DBR_TIME,
status = dbChannelPutField(chan, DBR_STRING,
((const struct dbr_time_string *)psrc)->value, no_elements);
break;
/* case(oldDBR_TIME_INT): */