"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "boreas/boreas_io.c" between
gvm-libs-21.4.1.tar.gz and gvm-libs-21.4.2.tar.gz

About: GVM Libraries for the Greenbone Vulnerability Management (GVM-10) framework (derived from the former openvas-libraries).

boreas_io.c  (gvm-libs-21.4.1):boreas_io.c  (gvm-libs-21.4.2)
skipping to change at line 188 skipping to change at line 188
/* check for finish signal/string */ /* check for finish signal/string */
if (g_strcmp0 (host_str, ALIVE_DETECTION_FINISHED) == 0) if (g_strcmp0 (host_str, ALIVE_DETECTION_FINISHED) == 0)
{ {
/* Send Error message if max_scan_hosts was reached. */ /* Send Error message if max_scan_hosts was reached. */
if (max_scan_hosts_reached ()) if (max_scan_hosts_reached ())
{ {
int num_not_scanned_hosts; int num_not_scanned_hosts;
num_not_scanned_hosts = num_not_scanned_hosts =
get_alive_hosts_count () - get_max_scan_hosts (); get_alive_hosts_count () - get_max_scan_hosts ();
send_limit_msg (num_not_scanned_hosts); if (0 != num_not_scanned_hosts)
{
send_limit_msg (num_not_scanned_hosts);
}
} }
g_debug ("%s: Boreas already finished scanning and we reached the " g_debug ("%s: Boreas already finished scanning and we reached the "
"end of the Queue of alive hosts.", "end of the Queue of alive hosts.",
__func__); __func__);
g_free (host_str); g_free (host_str);
*alive_deteciton_finished = TRUE; *alive_deteciton_finished = TRUE;
return NULL; return NULL;
} }
/* probably got host */ /* probably got host */
else else
 End of changes. 1 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)