From: Magnus Ljung Newsgroups: comp.os.msdos.djgpp Subject: Re: Help w/ CGI class Date: 21 Jul 1998 09:06:14 +0200 Lines: 12 Message-ID: References: <199807201640 DOT MAA20431 AT mail DOT cgocable DOT net> NNTP-Posting-Host: mumrik.nada.kth.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk bowes AT cgocable DOT net writes: > CGIApost::CGIApost() > { > setup(); > char *endptr; > const char *l = getenv("CONTENT_LENGTH"); > unsigned long length; > length = strtoul(l, &endptr, 10); // <-- Fails here Are you sure that l isn't NULL? /Magnus