aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-12-26 09:42:32 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-12-26 09:42:32 +0100
commitd9c5d0767cb50bb938146e74dcbe6c89e523b291 (patch)
treec6be40018dec194fd8c75d65484b3540930c0c01 /examples
parent8f162e3b13aa85aaa1257b775e1dc5d103f45570 (diff)
downloadlibssh-d9c5d0767cb50bb938146e74dcbe6c89e523b291.tar.gz
libssh-d9c5d0767cb50bb938146e74dcbe6c89e523b291.tar.xz
libssh-d9c5d0767cb50bb938146e74dcbe6c89e523b291.zip
examples: Fix building samplesshd-tty on FreeBSD.
Diffstat (limited to 'examples')
-rw-r--r--examples/samplesshd-tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/samplesshd-tty.c b/examples/samplesshd-tty.c
index 83b75648..ad32b682 100644
--- a/examples/samplesshd-tty.c
+++ b/examples/samplesshd-tty.c
@@ -42,6 +42,8 @@ clients must be made or how a client should react.
#endif
#endif
+static int port = 22;
+
#ifdef WITH_PCAP
const char *pcap_file="debug.server.pcap";
ssh_pcap_file pcap;
@@ -84,8 +86,6 @@ static char doc[] = "libssh -- a Secure Shell protocol implementation";
/* A description of the arguments we accept. */
static char args_doc[] = "BINDADDR";
-static int port = 22;
-
/* The options we understand. */
static struct argp_option options[] = {
{