summaryrefslogtreecommitdiff
path: root/security/zenmap/files/patch-ac
blob: 599b5a3707246f05943619ef4cbe40ad1f6e2f4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- gladesig.c.orig	Fri May  7 04:51:52 1999
+++ gladesig.c	Fri Jul 23 11:09:45 1999
@@ -171,7 +171,7 @@
 on_Get_Nmap_Version_activate           (GtkMenuItem    *menuitem,
                                         gpointer        user_data)
 {
-     execute("nmap -V");
+     execute( NMAP_PATH "nmap -V");
 }
 
 
@@ -296,7 +296,8 @@
 if (size > command_size)
   command = realloc(command, size);
 
- strcpy(command, "nmap ");
+ strcpy(command, NMAP_PATH);
+ strcat(command, "nmap ");
  /*Uhm... yeah.. Spit out which scan to perform based
    on the which_scan variable */