From c8265940ea42fbc77cf7cea84f371280068c0a0b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 5 Apr 2009 10:38:30 +0000 Subject: Make return of ssh_get_error() const. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@403 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/libssh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libssh') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 3ede96a6..6dce1006 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -151,7 +151,7 @@ typedef int socket_t; #define SSH_ERROR -1 /* error of some kind */ #define SSH_AGAIN 1 /* the nonblocking call must be repeated */ -char *ssh_get_error(void *error); +const char *ssh_get_error(void *error); int ssh_get_error_code(void *error); /* version checks */ -- cgit