diff options
Diffstat (limited to 'libssh/error.c')
-rw-r--r-- | libssh/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/error.c b/libssh/error.c index b44ab40..8503ff8 100644 --- a/libssh/error.c +++ b/libssh/error.c @@ -49,7 +49,7 @@ void ssh_set_error(void *error, int code, const char *descr, ...) { * \param error the ssh session pointer * \return a static string describing the error */ -char *ssh_get_error(void *error){ +const char *ssh_get_error(void *error){ struct error_struct *err=error; return err->error_buffer; } |