fixed bug in ProcessCallback

This commit is contained in:
Marty Kraimer
1997-06-25 21:42:42 +00:00
parent 32f895bde5
commit cd3e9a7baa
+3 -2
View File
@@ -181,10 +181,11 @@ static void wdCallback(long ind)
static void ProcessCallback(CALLBACK *pCallback)
{
dbCommon *pRec = NULL;
struct rset *prset = (struct rset *)pRec->rset;
dbCommon *pRec;
struct rset *prset;
callbackGetUser(pRec, pCallback);
prset = (struct rset *)pRec->rset;
dbScanLock(pRec);
(*prset->process)(pRec);
dbScanUnlock(pRec);