]> granicus.if.org Git - php/commitdiff
MFB: Make filters without a resource throw E_RECOVERABLE_ERROR rather then
authorIlia Alshanetsky <iliaa@php.net>
Tue, 16 May 2006 14:12:52 +0000 (14:12 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 16 May 2006 14:12:52 +0000 (14:12 +0000)
E_ERROR

ext/standard/php_fopen_wrapper.c

index 5a39fb7337ff0c0f46f757fed4a688bbc8e0d8b5..e6b9c502e6075117026a15089d8a9a933603cf0e 100644 (file)
@@ -171,7 +171,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch
                        path += 11;
                        max_memory = strtol(path, NULL, 10);
                        if (max_memory < 0) {
-                               php_error_docref(NULL TSRMLS_CC, E_ERROR, "Max memory must be >= 0");
+                               php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "Max memory must be >= 0");
                                return NULL;
                        }
                }