mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-05 20:55:46 +03:00
example: Fix location of port definition.
It shouldn't be inside #ifdef HAVE_ARGP.
This commit is contained in:
@@ -35,6 +35,8 @@ clients must be made or how a client should react.
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static int port = 22;
|
||||||
|
|
||||||
#ifdef WITH_PCAP
|
#ifdef WITH_PCAP
|
||||||
static const char *pcap_file = "debug.server.pcap";
|
static const char *pcap_file = "debug.server.pcap";
|
||||||
static ssh_pcap_file pcap;
|
static ssh_pcap_file pcap;
|
||||||
@@ -77,8 +79,6 @@ static char doc[] = "libssh -- a Secure Shell protocol implementation";
|
|||||||
/* A description of the arguments we accept. */
|
/* A description of the arguments we accept. */
|
||||||
static char args_doc[] = "BINDADDR";
|
static char args_doc[] = "BINDADDR";
|
||||||
|
|
||||||
static int port = 22;
|
|
||||||
|
|
||||||
/* The options we understand. */
|
/* The options we understand. */
|
||||||
static struct argp_option options[] = {
|
static struct argp_option options[] = {
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user