From 649c0d8e91e799981f4e41d4268a3470512c8412 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 18 Jan 2017 08:43:21 +0000 Subject: [PATCH] Do not reset idx, it has just been set. --- options.c | 1 - 1 file changed, 1 deletion(-) diff --git a/options.c b/options.c index 0375c0a4..4f6aa6fe 100644 --- a/options.c +++ b/options.c @@ -403,7 +403,6 @@ options_match(const char *s, int *idx, int* ambiguous) name = options_parse(s, idx); namelen = strlen(name); - *idx = -1; if (*name == '@') { *ambiguous = 0; return (xstrdup(name));