ID:               19798
 User updated by:  [EMAIL PROTECTED]
-Summary:          mistype in source
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Unknown/Other Function
 Operating System: any
 PHP Version:      4.2.3
 New Comment:

subject fix :)


Previous Comments:
------------------------------------------------------------------------

[2002-10-07 07:24:14] [EMAIL PROTECTED]

php-4.2.3/ext/standard/quot_print.c
---
   while ( str_in[i] )
   {
       switch (str_in[i])
       {
       case '=':
           if (str_in[i+1] && str_in[i+2] &&
               isxdigit((int)str_in[i+1]) &&
               isxdigit((int)str_in[i+1]) )
           {
               str_out[j++] = (php_hex2int((int)str_in[i+1]) << 4 )
                          + php_hex2int((int)str_in[i+2]);
               i += 3;
           }
---

may be lines above must looking like:
---
           if (str_in[i+1] && str_in[i+2] &&
               isxdigit((int)str_in[i+1]) &&                       
               isxdigit((int)str_in[i+2]) )
---
???


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19798&edit=1

Reply via email to