comparison src/misc/ngx_cpp_test_module.cpp @ 6948:3fb9b5eb75c0

Fixed ngx_open_cached_file() error handling. If of.err is 0, it means that there was a memory allocation error and no further logging and/or processing is needed. The of.failed string can be only accessed if of.err is not 0.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 28 Mar 2017 14:21:38 +0300
parents 1d693deab8ae
children f1e6f65ddfeb
comparison
equal deleted inserted replaced
6947:a8d7c9139831 6948:3fb9b5eb75c0