mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Save some strlen
This commit is contained in:
parent
4cdea779f9
commit
b8e8b3fcf4
2 changed files with 6 additions and 6 deletions
|
@ -159,7 +159,7 @@ php_mysqlnd_net_field_length(zend_uchar **packet)
|
|||
uint64_t
|
||||
php_mysqlnd_net_field_length_ll(zend_uchar **packet)
|
||||
{
|
||||
register zend_uchar *p= (zend_uchar *)*packet;
|
||||
register zend_uchar *p = (zend_uchar *)*packet;
|
||||
|
||||
if (*p < 251) {
|
||||
(*packet)++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue