uv_fs: don't raise E_ERROR

This commit is contained in:
Shuhei Tanuma 2012-07-22 13:38:29 +09:00
parent f4d67706ad
commit c26419f3da

View File

@ -100,7 +100,7 @@
#define PHP_UV_FS_ASYNC(loop, func, ...) \
error = uv_fs_##func(loop, (uv_fs_t*)&uv->uv.fs, __VA_ARGS__, php_uv_fs_cb); \
if (error) { \
php_error_docref(NULL TSRMLS_CC, E_ERROR, "uv_##func failed"); \
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uv_##func failed"); \
return; \
}