diff options
Diffstat (limited to 'src/nxt_tstr.c')
-rw-r--r-- | src/nxt_tstr.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nxt_tstr.c b/src/nxt_tstr.c index fda585b8..c439696e 100644 --- a/src/nxt_tstr.c +++ b/src/nxt_tstr.c @@ -296,6 +296,13 @@ nxt_tstr_query(nxt_task_t *task, nxt_tstr_query_t *query, nxt_tstr_t *tstr, } +nxt_bool_t +nxt_tstr_query_failed(nxt_tstr_query_t *query) +{ + return query->failed; +} + + void nxt_tstr_query_resolve(nxt_task_t *task, nxt_tstr_query_t *query, void *data, nxt_work_handler_t ready, nxt_work_handler_t error) |