Browse Source

- Use the const instead of hard coding

migration/RELEASE_1_0_0
Marcus Boerger 21 years ago
parent
commit
e556247281
  1. 4
      ext/standard/php_fopen_wrapper.c

4
ext/standard/php_fopen_wrapper.c

@ -169,11 +169,11 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch
return NULL;
}
}
return php_stream_temp_create(0, max_memory);
return php_stream_temp_create(TEMP_STREAM_DEFAULT, max_memory);
}
if (!strcasecmp(path, "memory")) {
return php_stream_memory_create(0);
return php_stream_memory_create(TEMP_STREAM_DEFAULT);
}
if (!strcasecmp(path, "output")) {

Loading…
Cancel
Save