aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/samplesshd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/samplesshd.c b/examples/samplesshd.c
index 95ba6a8..1af866c 100644
--- a/examples/samplesshd.c
+++ b/examples/samplesshd.c
@@ -16,7 +16,6 @@ clients must be made or how a client should react.
#include <libssh/libssh.h>
#include <libssh/server.h>
-#include <libssh/buffer.h>
#ifdef HAVE_ARGP_H
#include <argp.h>
@@ -34,13 +33,9 @@ clients must be made or how a client should react.
#endif
#ifdef WITH_PCAP
-#include <libssh/pcap.h>
const char *pcap_file="debug.server.pcap";
-#endif
-
-
-#ifdef WITH_PCAP
ssh_pcap_file pcap;
+
void set_pcap(ssh_session session);
void set_pcap(ssh_session session){
if(!pcap_file)