aboutsummaryrefslogtreecommitdiff
path: root/examples/libsshpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsshpp.cpp')
-rw-r--r--examples/libsshpp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/libsshpp.cpp b/examples/libsshpp.cpp
index f9bfe63..0be8863 100644
--- a/examples/libsshpp.cpp
+++ b/examples/libsshpp.cpp
@@ -15,7 +15,7 @@ program.
#include <libssh/libsshpp.hpp>
int main(int argc, const char **argv){
- ssh::Session session;
+ ssh::Session session,s2;
try {
if(argc>1)
session.setOption(SSH_OPTIONS_HOST,argv[1]);
@@ -27,5 +27,6 @@ int main(int argc, const char **argv){
std::cout << "Error during connection : ";
std::cout << e.getError() << std::endl;
}
+ //s2=session;
return 0;
}