Author: mwiegand
Date: 2008-10-06 15:28:08 +0200 (Mon, 06 Oct 2008)
New Revision: 1488

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/nessus/context.c
Log:
* nessus/context.c (context_collect_recurse): Corrected string that
prevented OpenVAS from loading the correct context.


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog      2008-10-06 11:07:14 UTC (rev 1487)
+++ trunk/openvas-client/ChangeLog      2008-10-06 13:28:08 UTC (rev 1488)
@@ -1,3 +1,8 @@
+2008-10-06  Michael Wiegand <[EMAIL PROTECTED]>
+
+       * nessus/context.c (context_collect_recurse): Corrected string that
+       prevented OpenVAS from loading the correct context.
+
 2008-09-29  Michael Wiegand <[EMAIL PROTECTED]>
 
        * po/Makefile: Updated to support French and Croatian translation.

Modified: trunk/openvas-client/nessus/context.c
===================================================================
--- trunk/openvas-client/nessus/context.c       2008-10-06 11:07:14 UTC (rev 
1487)
+++ trunk/openvas-client/nessus/context.c       2008-10-06 13:28:08 UTC (rev 
1488)
@@ -257,7 +257,7 @@
        if(!child->prefs && !child->children)
          context_remove_child(context, child);
       }
-      else if((!strcmp(file, "nessusrc") && context->type < CONTEXT_REPORT)
+      else if((!strcmp(file, "openvasrc") && context->type < CONTEXT_REPORT)
        || (!strcmp(file, "report.nbe") && context->type == CONTEXT_REPORT))
        context_found = TRUE;
       g_free(path);

_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits

Reply via email to