pajoye          Sun Jun 17 10:39:18 2007 UTC

  Modified files:              
    /php-src/ext/standard       image.c 
  Log:
  - MFB: #41321, read error downgraded to E_NOTICE
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/image.c?r1=1.129&r2=1.130&diff_format=u
Index: php-src/ext/standard/image.c
diff -u php-src/ext/standard/image.c:1.129 php-src/ext/standard/image.c:1.130
--- php-src/ext/standard/image.c:1.129  Sat Feb 24 16:25:55 2007
+++ php-src/ext/standard/image.c        Sun Jun 17 10:39:18 2007
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: image.c,v 1.129 2007/02/24 16:25:55 helly Exp $ */
+/* $Id: image.c,v 1.130 2007/06/17 10:39:18 pajoye Exp $ */
 
 #include "php.h"
 #include <stdio.h>
@@ -1215,7 +1215,7 @@
 
        if ( !filetype) filetype = tmp;
        if((php_stream_read(stream, filetype, 3)) != 3) {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Read error!");
+               php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Read error!");
                return IMAGE_FILETYPE_UNKNOWN;
        }
 

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

Reply via email to