Skip to content
Snippets Groups Projects
Verified Commit cc734c25 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

lib/resolve kr_request_ensure_answer(): allow it to fail

For now I was too afraid to use "multi-flag" kr_request::state,
so I kept it at _FAIL; anyone can recognize it by NULL answer anyway.

Lua wrapper: using exception was considered but didn't seem good.
I utilized the fact that modules can return nil meaning no state change.
parent 273fe41a
Branches
Tags
1 merge request!985change API for reply packet buffers
Pipeline #70860 waiting for manual action with stages
in 6 minutes and 11 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment