aboutsummaryrefslogtreecommitdiff
path: root/examples/samplesshd.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-08-09 22:08:43 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-08-09 22:08:43 +0200
commit136f4d3b0d7475ae212dcf824c3ff624a97a08ad (patch)
treedbc654dddfb350da516d6a541795fa8c9effa7fe /examples/samplesshd.c
parent714edcb8d9534d30e9bb7ddb5d7cb3844e3a464c (diff)
downloadlibssh-136f4d3b0d7475ae212dcf824c3ff624a97a08ad.tar.gz
libssh-136f4d3b0d7475ae212dcf824c3ff624a97a08ad.tar.xz
libssh-136f4d3b0d7475ae212dcf824c3ff624a97a08ad.zip
Removed unnecessary headers in samplesshd
Diffstat (limited to 'examples/samplesshd.c')
-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)