Re: Compile error in PHP5 main/network.c

From: Date: Fri, 09 Apr 2004 19:13:32 +0000
Subject: Re: Compile error in PHP5 main/network.c
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9029@lists.php.net to get a copy of this message
Sure does look like it.... Probably just a copy/paste mistake. I want to test it a bit first, but initially I'd say something more like: if (error_code && *error_code == .... since we aren't guaranteed that error_code is non-NULL. Thanks, I'll get this into CVS and double check PHP4 as well. -Sara "Mark Spruiell" <mes@zeroc.com> wrote in message news:2407.192.168.1.104.1081538101.squirrel@192.168.1.2... > Line 829 in main/network.c causes a compile error on HP-UX: > > if (err == PHP_TIMEOUT_ERROR_VALUE) { > > I believe this line should instead read > > if (*error_code == PHP_TIMEOUT_ERROR_VALUE) { > > I verified that this is present in the most recent snapshot. > > - Mark

« previous php.internals (#9029) next »