First commit towards replacing pCon-> with someFunc(pCon)
This is accompanied with the removal of dead code in conman.c and else
This commit is contained in:
@@ -370,13 +370,13 @@ int RestoreStatus(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
LLDdeleteBlob(self->errList);
|
||||
self->errList = LLDstringCreate();
|
||||
iRights = SCGetRights(pCon);
|
||||
pCon->iUserRights = usInternal;
|
||||
SCSetRights(pCon,usInternal);
|
||||
oldWrite = SCGetWriteFunc(pCon);
|
||||
SCSetWriteFunc(pCon, SCNotWrite);
|
||||
iRet = exeBufProcessErrList(buffi, pSics, pCon, self->errList);
|
||||
restoreOccurred = 1;
|
||||
SCSetWriteFunc(pCon, oldWrite);
|
||||
pCon->iUserRights = iRights;
|
||||
SCSetRights(pCon,iRights);
|
||||
exeBufDelete(buffi);
|
||||
/*
|
||||
if we do not override parameterChange here, the backup file
|
||||
|
||||
Reference in New Issue
Block a user