Attributes and LINK fields only provide one DBF_STRING element.

This commit is contained in:
Andrew Johnson
2009-04-01 22:02:48 +00:00
parent 91a9a60594
commit 776b8855fd
+2
View File
@@ -950,6 +950,7 @@ long epicsShareAPI dbGetField(DBADDR *paddr,short dbrType,
switch (dbrType) {
case DBR_STRING:
maxlen = MAX_STRING_SIZE - 1;
if (nRequest && *nRequest > 1) *nRequest = 1;
break;
case DBR_CHAR:
@@ -1008,6 +1009,7 @@ long epicsShareAPI dbGet(DBADDR *paddr, short dbrType,
switch (dbrType) {
case DBR_STRING:
maxlen = MAX_STRING_SIZE - 1;
if (nRequest && *nRequest > 1) *nRequest = 1;
break;
case DBR_CHAR: