search for: 2c62d4e

Displaying 1 result from an estimated 1 matches for "2c62d4e".

2020 Jul 31
1
[libnbd PATCH] generator: Trace return even when in wrong state
...this function in the wrong state) Bug 3: this patch. When a function fails due to use in the wrong state, the debug output was useless in telling me why. generator/C.ml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/generator/C.ml b/generator/C.ml index 4a0b45d..2c62d4e 100644 --- a/generator/C.ml +++ b/generator/C.ml @@ -542,13 +542,13 @@ let generate_lib_api_c () = pr " ret = nbd_unlocked_%s " name; print_arg_list ~wrap:true ~types:false ~handle:true args optargs; pr ";\n"; - if may_set_error then ( - pr "\n"...