- make lines in statusfile which gave an error on restore
This commit is contained in:
5
status.c
5
status.c
@ -436,13 +436,14 @@ static int SaveRestore(void *obj, char *name, FILE *fd){
|
||||
if(self == NULL){
|
||||
return 0;
|
||||
}
|
||||
fprintf(fd,"\n#--- BEGIN (commands producing errors on last restore)\n");
|
||||
status = LLDnodePtr2First(self->errList);
|
||||
while(status == 1){
|
||||
LLDstringData(self->errList,buffer);
|
||||
fprintf(fd,"%s\n", buffer);
|
||||
fprintf(fd,"%s", buffer);
|
||||
status = LLDnodePtr2Next(self->errList);
|
||||
}
|
||||
|
||||
fprintf(fd,"#--- END (commands producing errors on last restore)\n\n");
|
||||
return 1;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
Reference in New Issue
Block a user