On Mon, Aug 08, 2005 at 04:42:09PM +0100, Colm MacCarthaigh wrote: > On Mon, Aug 08, 2005 at 11:29:59AM -0400, Brian Akins wrote: > > maybe just make it static like: > > > > static char *srequest = NULL; > > or; > > const char *srequest = "GET / HTTP/1.0\r\n" > "User-Agent: " AP_SERVER_BASEVERSION > " (dummy connection)\r\n\r\n";
Actually, I definitely think this is a better idea, since the pool is destroyed at the end of the function, taking any guarantees about the string contents with it. -- Colm MacCárthaigh Public Key: [EMAIL PROTECTED]
