From afb6264b5c56ce9e8c85b336bd247caa55b97478 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 1 Dec 2013 02:41:15 +0100 Subject: [PATCH 1/1] Minor deduplication. --- config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.cpp b/config.cpp index 3122cc5..cce70e9 100644 --- a/config.cpp +++ b/config.cpp @@ -331,7 +331,7 @@ bool parse_udpstream(const ConfigLine &line, Config *config) UDPStreamConfig udpstream; string hostport = line.arguments[0]; - if (!parse_hostport(line.arguments[0], &udpstream.dst)) { + if (!parse_hostport(hostport, &udpstream.dst)) { return false; } -- 2.39.2