1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

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
This commit is contained in:
Andreas Schneider
2009-04-05 10:38:30 +00:00
parent 6492e3e69c
commit c8265940ea
2 changed files with 2 additions and 2 deletions

View File

@@ -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 */