Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Nessus: commits

NessusClient/nessus plugin_cache.c,1.4,1.5

 

 

Nessus commits RSS feed   Index | Next | Previous | View Threaded


bh at nessus

May 2, 2006, 9:46 AM

Post #1 of 1 (752 views)
Permalink
NessusClient/nessus plugin_cache.c,1.4,1.5

Update of /usr/local/cvs/NessusClient/nessus
In directory raccoon.nessus.org:/tmp/cvs-serv79594/nessus

Modified Files:
plugin_cache.c
Log Message:
The variable is_current is not needed anymore in plugin_cache_read


Index: plugin_cache.c
===================================================================
RCS file: /usr/local/cvs/NessusClient/nessus/plugin_cache.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- plugin_cache.c 27 Apr 2006 20:16:47 -0000 1.4
+++ plugin_cache.c 2 May 2006 16:45:57 -0000 1.5
@@ -611,7 +611,6 @@
plugin_cache_read(struct context * context)
{
int result = 0;
- int is_current = 0;
int end_found = 0;
char *filename;
FILE *file;
@@ -638,7 +637,7 @@
}

/* check the header and compare md5sums */
- result = is_current = check_header(file, &server_md5sum);
+ result = check_header(file, &server_md5sum);
if (result < 0)
goto fail;

@@ -708,5 +707,6 @@
efree(&server_md5sum);
if (file != NULL)
fclose(file);
- return result ? result : is_current;
+
+ return result;
}

_______________________________________________
Nessus-cvs mailing list
Nessus-cvs [at] list
http://mail.nessus.org/mailman/listinfo/nessus-cvs

Nessus commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.