aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-09-02 21:14:23 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2011-09-15 14:15:28 +0300
commit49cde0d526c06cd3258cb76bdcfccba96e7eaa9e (patch)
tree027a55ec52698c3de33204a7341ba7a95fc50f3d
parent6e93465f7005bfbf63b064d0c16d1b509cf3a682 (diff)
downloadlibssh-49cde0d526c06cd3258cb76bdcfccba96e7eaa9e.tar.gz
libssh-49cde0d526c06cd3258cb76bdcfccba96e7eaa9e.tar.xz
libssh-49cde0d526c06cd3258cb76bdcfccba96e7eaa9e.zip
guru meditation
-rw-r--r--include/libssh/libsshpp.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp
index a353826a..de67de56 100644
--- a/include/libssh/libsshpp.hpp
+++ b/include/libssh/libsshpp.hpp
@@ -481,7 +481,11 @@ public:
ssh_throw(err);
return err;
}
+#ifdef SWIG
+ int read(char *dest, size_t count, bool is_stderr=false){
+#else
int read(void *dest, size_t count, bool is_stderr=false){
+#endif
int err;
/* handle int overflow */
if(count > 0x7fffffff)