From c6175786a87c8a244d80352658d95a321571469f Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sat, 28 Jul 2001 11:03:06 +0000 Subject: Bugfix: socketChan allocated too small. --- ncpd/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ncpd') diff --git a/ncpd/main.cc b/ncpd/main.cc index b9eb5af..8c4de20 100644 --- a/ncpd/main.cc +++ b/ncpd/main.cc @@ -212,7 +212,7 @@ main(int argc, char **argv) } ncp *a = new ncp(serialDevice, baudRate, iow); int numScp = 0; - socketChan *scp[a->maxLinks() + 1]; + socketChan *scp[257]; // MAX_CHANNELS_PSION + 1 a->setVerbose(nverbose); a->setLinkVerbose(lverbose); -- cgit v1.2.3