From 3e1ed1707c2c60b6c44e2ece530b0cf8bb2b933d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 4 May 2009 06:55:25 +0000 Subject: Reformat channel_request_pty(). git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@694 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/channels.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'libssh/channels.c') diff --git a/libssh/channels.c b/libssh/channels.c index 1fb2aa6..19e7c08 100644 --- a/libssh/channels.c +++ b/libssh/channels.c @@ -1118,14 +1118,17 @@ error: return rc; } -/** \brief requests a pty - * \param channel channel - * \see channel_request_pty_size() - * \return SSH_SUCCESS on success\n - * SSH_ERROR on error +/** + * @brief Request a PTY. + * + * @param channel The channel to send the request. + * + * @return SSH_SUCCESS on success, SSH_ERROR on error. + * + * @see channel_request_pty_size() */ -int channel_request_pty(CHANNEL *channel){ - return channel_request_pty_size(channel,"xterm",80,24); +int channel_request_pty(CHANNEL *channel) { + return channel_request_pty_size(channel, "xterm", 80, 24); } /** \brief change the size of the terminal associated to a channel -- cgit