Author: jan
Date: 2007-11-06 00:44:09 +0100 (Tue, 06 Nov 2007)
New Revision: 524

Modified:
   trunk/openvas-libnasl/ChangeLog
   trunk/openvas-libnasl/nasl/nasl_host.c
Log:
* nasl/nasl_host.c: Added missing include (thanks to Hanno B?\195?\182ck)
(nasl_same_host): Fixed call of nasl_perror().


Modified: trunk/openvas-libnasl/ChangeLog
===================================================================
--- trunk/openvas-libnasl/ChangeLog     2007-11-05 20:07:48 UTC (rev 523)
+++ trunk/openvas-libnasl/ChangeLog     2007-11-05 23:44:09 UTC (rev 524)
@@ -1,3 +1,8 @@
+2007-11-06  Jan-Oliver Wagner <[EMAIL PROTECTED]>
+
+       * nasl/nasl_host.c: Added missing include (thanks to Hanno B�ck)
+       (nasl_same_host): Fixed call of nasl_perror().
+
 2007-11-01  Jan-Oliver Wagner <[EMAIL PROTECTED]>
 
        Post-release version bump.

Modified: trunk/openvas-libnasl/nasl/nasl_host.c
===================================================================
--- trunk/openvas-libnasl/nasl/nasl_host.c      2007-11-05 20:07:48 UTC (rev 
523)
+++ trunk/openvas-libnasl/nasl/nasl_host.c      2007-11-05 23:44:09 UTC (rev 
524)
@@ -29,6 +29,7 @@
 #include "nasl_func.h"
 #include "nasl_var.h"
 #include "nasl_lex_ctxt.h"
+#include "nasl_debug.h"
 #include "exec.h"  
 
 #include "nasl_host.h"
@@ -269,7 +270,7 @@
          h = gethostbyname(hn[i]);
          if (h == NULL)
            {
-             nasl_perror("same_host: %s does not resolve\n", hn[i]);
+             nasl_perror(lexic, "same_host: %s does not resolve\n", hn[i]);
              n[i] = 0;
              if (cmp_hostname) 
                {

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

Reply via email to