Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9029 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31607 invoked by uid 1010); 9 Apr 2004 19:13:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31544 invoked by uid 1007); 9 Apr 2004 19:13:37 -0000 Message-ID: <20040409191337.31542.qmail@pb1.pair.com> To: internals@lists.php.net References: <2407.192.168.1.104.1081538101.squirrel@192.168.1.2> Date: Fri, 9 Apr 2004 12:13:32 -0700 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Posted-By: 169.229.135.175 Subject: Re: Compile error in PHP5 main/network.c From: pollita@php.net ("Sara Golemon") 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" 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