From f2788c9866371fc2ff325f90504ce2be49fb16a9 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 14 Apr 2009 14:02:37 +0000 Subject: Reformat ssh_socket_completewrite() and use const for buffer. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@465 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 67e9bef..50b82f6 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -489,7 +489,7 @@ int ssh_socket_is_open(struct socket *s); int ssh_socket_fd_isset(struct socket *s, fd_set *set); void ssh_socket_fd_set(struct socket *s, fd_set *set, int *fd_max); int ssh_socket_completeread(struct socket *s, void *buffer, u32 len); -int ssh_socket_completewrite(struct socket *s, void *buffer, u32 len); +int ssh_socket_completewrite(struct socket *s, const void *buffer, u32 len); int ssh_socket_wait_for_data(struct socket *s, SSH_SESSION *session, u32 len); int ssh_socket_nonblocking_flush(struct socket *s); int ssh_socket_blocking_flush(struct socket *s); -- cgit