Mailing List Archive

NessusClient/nessus comm.c,1.10,1.10.2.1
Update of /usr/local/cvs/NessusClient/nessus
In directory raccoon.nessus.org:/tmp/cvs-serv35093

Modified Files:
Tag: release-1-0
comm.c
Log Message:
Backport from nessus-core NESSSUS_2_2 committed Wed May 10 05:07:45 2006:
do not strip out the ';' character from the plugin prefs


Index: comm.c
===================================================================
RCS file: /usr/local/cvs/NessusClient/nessus/comm.c,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -d -r1.10 -r1.10.2.1
--- comm.c 13 Jan 2006 00:08:28 -0000 1.10
+++ comm.c 10 May 2006 07:53:46 -0000 1.10.2.1
@@ -488,18 +488,7 @@
harg_add_int(*upload, pref->value, 1);
}

- if ( pprefs == 0 )
- network_printf(context->socket, "%s <|> %s\n", pref->name, pref->value);
- else if ( strchr(pref->value, ';') != NULL )
- {
- char * p;
- p = strchr(pref->value, ';');
- p[0] = '\0';
- network_printf(context->socket, "%s <|> %s\n", pref->name, pref->value);
- p[0] = ';';
- }
- else network_printf(context->socket, "%s <|> %s\n", pref->name, pref->value);
-
+ network_printf(context->socket, "%s <|> %s\n", pref->name, pref->value);
}
else if(pref->type == ARG_INT)
{

_______________________________________________
Nessus-cvs mailing list
Nessus-cvs@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus-cvs