git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
librpc/rpc: only interpret the first option as endpoint if there's no '=' in it.
[samba.git]
/
librpc
/
rpc
/
binding.c
diff --git
a/librpc/rpc/binding.c
b/librpc/rpc/binding.c
index 9e012d55078ce8d40eddb93e1c22cf17bf94d020..de319be4b465809ebf7b1fdc59eab5bf01a3d60b 100644
(file)
--- a/
librpc/rpc/binding.c
+++ b/
librpc/rpc/binding.c
@@
-407,7
+407,7
@@
_PUBLIC_ NTSTATUS dcerpc_parse_binding(TALLOC_CTX *mem_ctx, const char *s, struc
}
}
- if (b->options[0]) {
+ if (b->options[0]
&& strchr(b->options[0], '=') == NULL
) {
/* Endpoint is first option */
b->endpoint = b->options[0];
if (strlen(b->endpoint) == 0) b->endpoint = NULL;