diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-02-12 22:17:50 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-02-12 22:17:50 +0100 |
commit | f8d0055503d6018dfd1126417ecd50758e4bca61 (patch) | |
tree | def5ff78df1eae2c1c57e5daf290c2d9355535af /examples/libsshpp.cpp | |
parent | 8baaf64a72e02c1c7f37b6345cd6db5ac2fdf06e (diff) | |
download | libssh-f8d0055503d6018dfd1126417ecd50758e4bca61.tar.gz libssh-f8d0055503d6018dfd1126417ecd50758e4bca61.tar.xz libssh-f8d0055503d6018dfd1126417ecd50758e4bca61.zip |
More C++ work
Diffstat (limited to 'examples/libsshpp.cpp')
-rw-r--r-- | examples/libsshpp.cpp | 3 |
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; } |