You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 2001/02/09 19:21:51 UTC
[Fwd: Bug discovered and fixed]
Lost in mail. Not acked.
--
#ken P-)}
Ken Coar <http://Golux.Com/coar/>
Apache Software Foundation <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed" <http://ApacheUnleashed.Com/>
Re: [Fwd: Bug discovered and fixed]
Posted by Greg Stein <gs...@lyra.org>.
On Fri, Feb 09, 2001 at 10:34:49AM -0800, Jeffrey W. Baker wrote:
> On Fri, 9 Feb 2001, Rodent of Unusual Size wrote:
>
> > Lost in mail. Not acked.
>
> nErrorCode = GetLastError();
> len = 0;
> len = ap_snprintf(errstr, sizeof(errstr) - len, "(%d) ", nErrorCode);
>
>
> Weird. I'm having trouble seeing the difference between the above and:
>
> len = ap_snprintf(errstr, sizeof(errstr), "(%d) ", nErrorCode);
There is no difference... newbie programmer :-)
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
Re: [Fwd: Bug discovered and fixed]
Posted by "Jeffrey W. Baker" <jw...@acm.org>.
On Fri, 9 Feb 2001, Rodent of Unusual Size wrote:
> Lost in mail. Not acked.
nErrorCode = GetLastError();
len = 0;
len = ap_snprintf(errstr, sizeof(errstr) - len, "(%d) ", nErrorCode);
Weird. I'm having trouble seeing the difference between the above and:
len = ap_snprintf(errstr, sizeof(errstr), "(%d) ", nErrorCode);
-jwb