summaryrefslogtreecommitdiff
path: root/security/amap/files/patch-amap-lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/amap/files/patch-amap-lib.c')
-rw-r--r--security/amap/files/patch-amap-lib.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/security/amap/files/patch-amap-lib.c b/security/amap/files/patch-amap-lib.c
index 642986b9670f..4741dd2bce84 100644
--- a/security/amap/files/patch-amap-lib.c
+++ b/security/amap/files/patch-amap-lib.c
@@ -1,9 +1,9 @@
---- amap-lib.c.orig Wed Jun 29 17:23:56 2005
-+++ amap-lib.c Wed Jun 29 17:28:09 2005
-@@ -125,10 +125,8 @@
+--- amap-lib.c.orig 2011-04-20 15:10:17 UTC
++++ amap-lib.c
+@@ -125,10 +125,8 @@ int amap_webupdate_file(char *webfile, c
int len = strlen("http://");
int wlen = strlen(webfile);
- int port = 80, s, result = 1, datalen = 0, version = -1;
+ int port = 80, s, result = 1, datalen = 0, version = -1, fck;
-int xx = 0;
unsigned long int ip;
time_t epoch;
@@ -11,7 +11,7 @@
struct hostent *target;
struct sockaddr_in addr;
struct tm *the_time;
-@@ -404,8 +402,8 @@
+@@ -404,8 +402,8 @@ amap_struct_triggers *read_file_triggers
char *ptr;
char *only_trigger = NULL;
int i;
@@ -22,7 +22,7 @@
int count;
int count_triggers = 0;
-@@ -577,7 +575,7 @@
+@@ -577,7 +575,7 @@ amap_struct_responses *read_file_respons
char *proto;
char *length;
char *string;
@@ -31,7 +31,7 @@
int errptr;
int i;
int count;
-@@ -740,7 +738,7 @@
+@@ -740,7 +738,7 @@ amap_struct_targets *read_file_nmap(char
char *portinfo;
char *proto;
char *ptr;
@@ -40,7 +40,7 @@
int count = 0;
f = amap_open_file(filename, "nmap", "", opt->verbose);
-@@ -1585,7 +1583,7 @@
+@@ -1613,7 +1611,7 @@ int amap_scan(int scanmode, amap_struct_
amap_struct_targets *target = (amap_struct_targets*) targets;
amap_struct_ports *port;
amap_struct_identifications *ids;
@@ -49,7 +49,7 @@
amap_struct_coms coms[AMAP_MAX_TASKS];
amap_struct_scaninfo scaninfo;
// struct sockaddr_in target_in;
-@@ -1593,7 +1591,7 @@
+@@ -1621,7 +1619,7 @@ int amap_scan(int scanmode, amap_struct_
char *rpc_ptr = NULL;
int todo = 0;
int ready_for_next;