This commit is contained in:
Michael Davidsaver
2014-08-01 13:55:33 -04:00
parent 6ed997aacc
commit 5847f98f89
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -12,9 +12,10 @@ long link_test_extend(struct dbCommon *junk)
static dsxt xrecextend = {&link_test_extend, &link_test_extend};
static
long link_test_init(int junk)
long link_test_init(int pass)
{
devExtend(&xrecextend);
if(pass==0)
devExtend(&xrecextend);
return 0;
}
+1 -1
View File
@@ -2297,7 +2297,7 @@ long dbPutString(DBENTRY *pdbentry,const char *pstring)
struct dbCommon *prec = pdbentry->precnode->precord;
devSup *devsup = (devSup *)ellNth(&pdbentry->precordType->devList, prec->dtyp+1);
status = dbCanSetLink(plink, &link_info, devsup);
if(status)
if(status==0)
status = dbSetLink(plink, &link_info, devsup);
}