Mailing List Archive

NessusClient/nessus comm.c,1.23,1.24
Update of /usr/local/cvs/NessusClient/nessus
In directory raccoon.nessus.org:/tmp/cvs-serv69799

Modified Files:
comm.c
Log Message:
Resetting the progress bar after dependencies have been processed.
This fixes the bug that the counter was never reset when
connecting-disconnecting-connecting etc. for the same scope.
Each time the counter started with the last value, ie. first
time counter goes up to 12000, next time to 24000, then 36000 etc.


Index: comm.c
===================================================================
RCS file: /usr/local/cvs/NessusClient/nessus/comm.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- comm.c 3 Jul 2006 14:43:21 -0000 1.23
+++ comm.c 23 Aug 2006 13:49:46 -0000 1.24
@@ -1454,5 +1454,8 @@
network_gets(context->socket, buff, sizeof(buff) - 1);
}
}
+ /* XXX: this resetting should be moved to another place
+ * once there is a separate module for handling the progress bar. */
+ comm_update_ui(context, 0); /* reset progress bar */
return 0;
}

_______________________________________________
Nessus-cvs mailing list
Nessus-cvs@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus-cvs