On Fri, Mar 14, 2003 at 04:47:46AM +0100, Franco Silvestro wrote:
> If I try compiling last cvs version at the end of scan I always have dialog
> with "nessusd returned an empty report", I can do scan only in batch mode,
> but if I try '/usr/local/bin/nessus -r workingdata/working.nbe' ... again
> I've "nessusd returned an empty report"....
> I look inside source and I find :
>
> In now cvs nessus-core/nessus/report_ng.c there is a condition in line 1331
> not correct:
>
> if(backend_empty(be) != 0)
>
> best if
>
> if(!backend_empty(be))
Good point. Actually, the correct code is :
if(backend_empty(be) <= 0)
I'll commit the change to CVS, thanks.