diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-12-16 10:15:21 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-12-16 10:15:21 +0000 |
commit | ecc25195945bdaa6d9ac20b7ac7bf2a1fb6c62f3 (patch) | |
tree | 1f6965d36da85ca413d4c4504dbad934609a7f10 /source4/librpc/rpc | |
parent | 68d84436a143d9180e3026a0b2c490e39f869a76 (diff) | |
download | samba-ecc25195945bdaa6d9ac20b7ac7bf2a1fb6c62f3.tar.gz samba-ecc25195945bdaa6d9ac20b7ac7bf2a1fb6c62f3.tar.bz2 samba-ecc25195945bdaa6d9ac20b7ac7bf2a1fb6c62f3.zip |
no longer require the pipe name or tcp port number to be the first
option in the ncacn_* syntax
(This used to be commit 74f36d32bb14e94a80e1963cbc95f8fba3f23335)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index fbc97f316d..f1b719e64a 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -364,7 +364,11 @@ NTSTATUS dcerpc_parse_binding(TALLOC_CTX *mem_ctx, const char *s, struct dcerpc_ for (i=0;b->options[i];i++) { for (j=0;j<ARRAY_SIZE(options);j++) { if (strcasecmp(options[j].name, b->options[i]) == 0) { + int k; b->flags |= options[j].flag; + for (k=i;b->options[k];k++) { + b->options[k] = b->options[k+1]; + } break; } } |