Minor deduplication.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Dec 2013 01:41:15 +0000 (02:41 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Dec 2013 01:41:15 +0000 (02:41 +0100)
config.cpp

index 3122cc5..cce70e9 100644 (file)
@@ -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;
        }