From 8f3b1cce167039c16c094bb702fca0a797781b3b Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Wed, 21 Dec 1994 14:58:01 +0000 Subject: [PATCH] get_enum_strs has no_strs=2 if no strings defined so CA clients work --- src/rec/recBi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rec/recBi.c b/src/rec/recBi.c index 6cac773be..5131c3b0c 100644 --- a/src/rec/recBi.c +++ b/src/rec/recBi.c @@ -235,7 +235,7 @@ static long get_enum_strs(paddr,pes) { struct biRecord *pbi=(struct biRecord *)paddr->precord; - pes->no_str = 0; + pes->no_str = 2; memset(pes->strs,'\0',sizeof(pes->strs)); strncpy(pes->strs[0],pbi->znam,sizeof(pbi->znam)); if(*pbi->znam!=0) pes->no_str=1;