summaryrefslogtreecommitdiffstats
path: root/server/tools/tools_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools/tools_util.c')
-rw-r--r--server/tools/tools_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/tools_util.c b/server/tools/tools_util.c
index 72ab16644..0f093cb8f 100644
--- a/server/tools/tools_util.c
+++ b/server/tools/tools_util.c
@@ -209,7 +209,7 @@ int parse_groups(TALLOC_CTX *mem_ctx, const char *optstr, char ***_out)
return ENOMEM;
}
- n = orig;
+ n = o = orig;
for (i = 0; i < tokens; i++) {
o = n;
n = strchr(n, delim);