Mailing List Archive

NessusClient/nessus comm.c,1.17,1.18
Update of /usr/local/cvs/NessusClient/nessus
In directory raccoon.nessus.org:/tmp/cvs-serv34972

Modified Files:
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.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- comm.c 27 Apr 2006 20:16:48 -0000 1.17
+++ comm.c 10 May 2006 07:51:46 -0000 1.18
@@ -528,18 +528,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