--- embedaddon/php/ext/standard/url.c 2013/10/14 08:02:35 1.1.1.4 +++ embedaddon/php/ext/standard/url.c 2014/06/15 20:03:57 1.1.1.5 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2013 The PHP Group | + | Copyright (c) 1997-2014 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -15,7 +15,7 @@ | Author: Jim Winstead | +----------------------------------------------------------------------+ */ -/* $Id: url.c,v 1.1.1.4 2013/10/14 08:02:35 misho Exp $ */ +/* $Id: url.c,v 1.1.1.5 2014/06/15 20:03:57 misho Exp $ */ #include #include @@ -266,8 +266,8 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int p = s; } else { /* memrchr is a GNU specific extension - Emulate for wide compatibility */ - for(p = e; *p != ':' && p >= s; p--); + Emulate for wide compatability */ + for(p = e; p >= s && *p != ':'; p--); } if (p >= s && *p == ':') {