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:
1 parent
5c3dba706f
commit
5af37ca3d4
1 file changed
+1
-1
@@ -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): */
|
||||
|
||||
Reference in new issue
Block a user