Fixed typo in assertion statement introduced in 4979fe09d9cd.

Found by Coverity (CID 260375).
This commit is contained in:
Max Romanov
2018-02-02 14:08:18 +03:00
parent 960962ddce
commit f7195e7016

View File

@@ -256,7 +256,7 @@ nxt_port_main_start_worker_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
idx = nxt_app_parse_type(app_conf.type.start, app_conf.type.length); idx = nxt_app_parse_type(app_conf.type.start, app_conf.type.length);
nxt_assert(ret != NXT_APP_UNKNOWN); nxt_assert(idx != NXT_APP_UNKNOWN);
ret = nxt_conf_map_object(mp, conf, nxt_common_members[idx].map, ret = nxt_conf_map_object(mp, conf, nxt_common_members[idx].map,
nxt_common_members[idx].size, &app_conf); nxt_common_members[idx].size, &app_conf);