aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
authorSalvador Fandino <sfandino@yahoo.com>2015-06-02 15:35:50 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-04 22:57:00 +0200
commitf706d774b4dfd4c4254c3cf5c29ec28eb9313568 (patch)
tree6f22d60804ab1f16b067b864b3f731804c9c6d99 /nxcomp
parentc92a102ba786e4b642bc454381b69d7d104ec5b5 (diff)
downloadnx-libs-f706d774b4dfd4c4254c3cf5c29ec28eb9313568.tar.gz
nx-libs-f706d774b4dfd4c4254c3cf5c29ec28eb9313568.tar.bz2
nx-libs-f706d774b4dfd4c4254c3cf5c29ec28eb9313568.zip
remove now unused function ParseListenOption
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/Loop.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp
index 20114afbf..f051130dd 100644
--- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp
@@ -524,14 +524,6 @@ static int ParseHostOption(const char *opt, char *host, int &port);
static int ParseFontPath(char *path);
//
-// Determine the interface where to listen for
-// the remote proxy connection or the local
-// forwarder.
-//
-
-static int ParseListenOption(int &interface);
-
-//
// Translate a pack method id in a literal.
//
@@ -13476,18 +13468,6 @@ ParseFontPathError:
return -1;
}
-int ParseListenOption(int &address)
-{
- if (loopbackBind || (control->ProxyMode == proxy_server)) {
- address = htonl(INADDR_LOOPBACK);
- }
- else
- {
- address = htonl(INADDR_ANY);
- }
- return 1;
-}
-
int OpenLogFile(char *name, ostream *&stream)
{
if (name == NULL || *name == '\0')