fixed bug where ca_array_get() of data type string returned only one string

This commit is contained in:
Jeff Hill
1995-11-29 19:07:24 +00:00
parent a2b2fe76fd
commit a9f37ef407

View File

@@ -478,7 +478,8 @@ const struct in_addr *pnet_addr
FALSE,
piiu->curMsg.m_count);
# else
if (piiu->curMsg.m_type == DBR_STRING) {
if (piiu->curMsg.m_type == DBR_STRING &&
piiu->curMsg.m_count == 1u) {
strcpy ((char *)pIOBlock->usr_arg,
piiu->pCurData);
}