bug fix to header encoding for null input RPCs
without this change, Mercury will omit the portion of the header that
was reserved by HG_Class_set_input_offset() for RPCs with null input
or output arguments
@@ -657,7 +657,7 @@ hg_set_struct(struct hg_private_handle *hg_handle,
}
if (!proc_cb || !struct_ptr) {
/* Silently skip */
- *payload_size = 0;
+ *payload_size = header_offset;
goto done;
}
