Compile error in PHP5 main/network.c

php.internals

Mark Spruiell

22 years ago
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

Sara Golemon

22 years ago
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...