correctly calculate the number of bytes in the CA connect sequence

This commit is contained in:
Jeff Hill
2000-06-17 00:35:01 +00:00
parent 8fa9db48ad
commit 645b0883aa
+1 -1
View File
@@ -513,7 +513,7 @@ int catime ( char *channelName, unsigned channelCount, enum appendNumberFlag app
}
pItemList[i].name[strsize]= '\0';
pItemList[i].count = 1;
nBytes += OCT_ROUND ( strlen ( pItemList[i].name ) ) + 2 * sizeof (caHdr);
nBytes += 2 * ( OCT_ROUND ( strlen ( pItemList[i].name ) ) + 2 * sizeof (caHdr) );
}
printf ("search test\n");