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-10-14 15:12:10 +02:00
1 parent 5c3dba706f
commit 5af37ca3d4
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): */