1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 20:09:02 +00:00

NSE committed

This commit is contained in:
fyodor
2006-12-11 00:34:26 +00:00
parent cc451cdb54
commit b361685be8
136 changed files with 23553 additions and 201 deletions

View File

@@ -133,7 +133,7 @@ static void rpc_services_init() {
ri.names = (char **) cp_alloc(ri.num_alloc * sizeof(char *));
ri.numbers = (unsigned long *) cp_alloc(ri.num_alloc * sizeof(unsigned long));
if (nmap_fetchfile(filename, sizeof(filename), "nmap-rpc") == -1) {
if (nmap_fetchfile(filename, sizeof(filename), "nmap-rpc") != 1) {
error("Unable to find nmap-rpc! Resorting to /etc/rpc");
strcpy(filename, "/etc/rpc");
}