aboutsummaryrefslogtreecommitdiff
path: root/examples/libsshpp.cpp
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-02-12 22:17:50 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2010-02-12 22:17:50 +0100
commitf8d0055503d6018dfd1126417ecd50758e4bca61 (patch)
treedef5ff78df1eae2c1c57e5daf290c2d9355535af /examples/libsshpp.cpp
parent8baaf64a72e02c1c7f37b6345cd6db5ac2fdf06e (diff)
downloadlibssh-f8d0055503d6018dfd1126417ecd50758e4bca61.tar.gz
libssh-f8d0055503d6018dfd1126417ecd50758e4bca61.tar.xz
libssh-f8d0055503d6018dfd1126417ecd50758e4bca61.zip
More C++ work
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 f9bfe63d..0be88639 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;
}