delorie.com/archives/browse.cgi | search |
From: | Magnus Ljung <d93-mlj AT mumrik DOT nada DOT kth DOT se> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Help w/ CGI class |
Date: | 21 Jul 1998 09:06:14 +0200 |
Lines: | 12 |
Message-ID: | <ie0btqjof89.fsf@mumrik.nada.kth.se> |
References: | <199807201640 DOT MAA20431 AT mail DOT cgocable DOT net> |
NNTP-Posting-Host: | mumrik.nada.kth.se |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |