summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAidan Hobson Sayers <aidanhs@cantab.net>2016-09-16 00:27:07 +0100
committerAidan Hobson Sayers <aidanhs@cantab.net>2016-09-16 00:27:07 +0100
commitc9cc927f27fa2fb475b772731446237345f1f270 (patch)
tree76e66042013ed66a970913fbbb971c6dce53f337 /src
parentbcb2f65c0e1fd2df2395aa37af51140adb1a5d5f (diff)
downloadssh2-rs-c9cc927f27fa2fb475b772731446237345f1f270.zip
Fix libssh2_channel_wait_eof doc (see libssh2/libssh2#93)
Closes #34
Diffstat (limited to 'src')
-rw-r--r--src/channel.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.rs b/src/channel.rs
index d7d9b20..00f8702 100644
--- a/src/channel.rs
+++ b/src/channel.rs
@@ -309,7 +309,7 @@ impl<'sess> Channel<'sess> {
}
}
- /// Wait for the remote end to acknowledge an EOF request.
+ /// Wait for the remote end to send EOF.
pub fn wait_eof(&mut self) -> Result<(), Error> {
unsafe { self.sess.rc(raw::libssh2_channel_wait_eof(self.raw)) }
}