Use a bigger buffer for NGM_BINARY2ASCII conversion, to handle really

long ASCII control messages.
This commit is contained in:
archie 2000-08-10 22:50:38 +00:00
parent 5187133877
commit 6119100c13

View File

@ -1453,7 +1453,7 @@ ng_generic_msg(node_p here, struct ng_mesg *msg, const char *retaddr,
case NGM_BINARY2ASCII:
{
int bufSize = 2000; /* XXX hard coded constant */
int bufSize = 20 * 1024; /* XXX hard coded constant */
const struct ng_parse_type *argstype;
const struct ng_cmdlist *c;
struct ng_mesg *rp, *binary, *ascii;