Peter Stuge
aa8f2cbf33
example/x11: Set raw terminal mode manually instead of with cfmakeraw()
...
OpenSolaris has no cfmakeraw() so to make the example more portable
we simply do the equivalent operations on struct termios ourselves.
Thanks to Tom Weber for reporting this problem, and finding a solution.
2012-02-29 22:27:18 +01:00
Daniel Stenberg
7ed53e21fd
libssh2_session_startup(3) => libssh2_session_handshake(3)
...
Propagate for the current function in docs and examples.
libssh2_session_startup() is deprecated.
2011-09-09 23:17:04 +02:00
Henrik Nordstrom
2fe1770d9f
Avoid reuse after free when closing X11 channels
2011-08-16 10:27:49 +02:00
Simon Josefsson
7301036421
Eat our own dog food, call libssh2_init and libssh2_exit in the examples.
2010-03-19 09:35:00 +01:00
Peter Stuge
2149244cfe
Fix resource and memory leaks in examples as reported by cppcheck
...
Thanks to Ettl Martin for the report and patch. This fixes #132
2010-02-16 13:21:57 +01:00
Simon Josefsson
b5e358618b
Move examples from example/simple to example/.
2009-12-19 10:54:45 +01:00