diff options
-rw-r--r-- | src/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1046,8 +1046,8 @@ static HANDLE_FUNC (handle_upstream) return -1; port = (int) get_long_arg (line, &match[7]); - if (match[9].rm_so != -1) { - domain = get_string_arg (line, &match[9]); + if (match[10].rm_so != -1) { + domain = get_string_arg (line, &match[10]); if (domain) { upstream_add (ip, port, domain, &conf->upstream_list); safefree (domain); |