diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-02-03 09:06:08 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2014-02-11 16:20:28 +0100 |
commit | 6ab76219cd651f1ad30eaeff87a8878c91c6969a (patch) | |
tree | 747e9606e1efaa4d8807602b39ede11d2ba35daa /librpc/rpc/rpc_common.h | |
parent | 327c060666a8cf5213e0548acb2d2be6a93fbee2 (diff) | |
download | samba-6ab76219cd651f1ad30eaeff87a8878c91c6969a.tar.gz samba-6ab76219cd651f1ad30eaeff87a8878c91c6969a.tar.xz samba-6ab76219cd651f1ad30eaeff87a8878c91c6969a.zip |
librpc/rpc: let dcerpc_floor_get_rhs_data() return 'char *'
We don't return any "const char *" values here, so give the caller
a chance to talloc_free() the result.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'librpc/rpc/rpc_common.h')
-rw-r--r-- | librpc/rpc/rpc_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/rpc/rpc_common.h b/librpc/rpc/rpc_common.h index 257b1a2dd2..dd47323dd3 100644 --- a/librpc/rpc/rpc_common.h +++ b/librpc/rpc/rpc_common.h @@ -124,7 +124,7 @@ NTSTATUS dcerpc_fault_to_nt_status(uint32_t fault_code); /* The following definitions come from ../librpc/rpc/binding.c */ const char *epm_floor_string(TALLOC_CTX *mem_ctx, struct epm_floor *epm_floor); -const char *dcerpc_floor_get_rhs_data(TALLOC_CTX *mem_ctx, struct epm_floor *epm_floor); +char *dcerpc_floor_get_rhs_data(TALLOC_CTX *mem_ctx, struct epm_floor *epm_floor); enum dcerpc_transport_t dcerpc_transport_by_endpoint_protocol(int prot); struct dcerpc_binding *dcerpc_binding_dup(TALLOC_CTX *mem_ctx, const struct dcerpc_binding *b); |