- Fixed a bug with hlist -val
This commit is contained in:
5
exeman.c
5
exeman.c
@ -1068,11 +1068,14 @@ static int printBuffer(pExeMan self, SConnection *pCon,
|
||||
DeleteDynString(filePath);
|
||||
return 0;
|
||||
}
|
||||
DeleteDynString(filePath);
|
||||
SCStartBuffering(pCon);
|
||||
while(fgets(pLine,511,fd) != NULL){
|
||||
SCWrite(pCon,pLine,eValue);
|
||||
}
|
||||
fclose(fd);
|
||||
DeleteDynString(filePath);
|
||||
filePath = SCEndBuffering(pCon);
|
||||
SCWrite(pCon,GetCharArray(filePath),eValue);
|
||||
return 1;
|
||||
}
|
||||
/*========================== run stack ===============================*/
|
||||
|
Reference in New Issue
Block a user