librpc/rpc: simplify dcerpc_parse_binding()
authorStefan Metzmacher <metze@samba.org>
Thu, 23 Jan 2014 11:13:14 +0000 (12:13 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 13 Feb 2014 10:54:14 +0000 (11:54 +0100)
commit9f5a59eb536b3dcf98f90259877d55c58d8c7f9a
tree5e5a237c66b7b993d68a96456b784d309a0643bb
parented8adc292047112d41fc2de0e77f76fcbdc7daac
librpc/rpc: simplify dcerpc_parse_binding()

We now make a copy of the given string, so that we can mark chunks
inline. Then we call dcerpc_binding_set_string_option() in order
to set the elements.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
librpc/rpc/binding.c