On 01/30/2011 04:52 PM, Jérôme Loyet wrote:
> 2011/1/30 Antony Dovgal <t...@daylessday.org>:
>> On 01/29/2011 02:38 PM, Jérôme Loyet wrote:
>>> +     if (request_uri) {
>>> +             cpystrn(slot->request_uri, request_uri, 
>>> sizeof(slot->request_uri));
>>> +     }
>>> +
>>
>> No need to use/have private string funcs for that, we have strlcpy() & 
>> strlcat() in PHP.
>> See main/strlcpy.c and main/strlcat.c.
> 
> I replaced cpystrn with strlcpy in FPM. See revision 307861

Thanks!

-- 
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to