fixed removal of moe than one ncacn_* option from option list
authorAndrew Tridgell <tridge@samba.org>
Fri, 19 Dec 2003 04:26:26 +0000 (04:26 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 19 Dec 2003 04:26:26 +0000 (04:26 +0000)
(This used to be commit 09a9b25c8d916c0467a124d959d5cd911b782dfa)

source4/librpc/rpc/dcerpc_util.c

index bd8249a9c9800b6cfa73e71e1e6adbc432dba11b..8efcefc8a79ec61cf593dfdb869db8190a70d182 100644 (file)
@@ -412,6 +412,7 @@ NTSTATUS dcerpc_parse_binding(TALLOC_CTX *mem_ctx, const char *s, struct dcerpc_
                                for (k=i;b->options[k];k++) {
                                        b->options[k] = b->options[k+1];
                                }
+                               i--;
                                break;
                        }
                }