aboutsummaryrefslogtreecommitdiff
path: root/libssh/error.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-05 09:16:15 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-05 09:16:15 +0000
commitb239fda60c8ca9fef6152d714c587fe1d45d89c9 (patch)
tree4fae148b11996081ac8b2b0e6af3182061ae39ae /libssh/error.c
parentf286e8c9b0a7287a74a59d33e6bfb7324ae744ec (diff)
downloadlibssh-b239fda60c8ca9fef6152d714c587fe1d45d89c9.tar.gz
libssh-b239fda60c8ca9fef6152d714c587fe1d45d89c9.tar.xz
libssh-b239fda60c8ca9fef6152d714c587fe1d45d89c9.zip
Fix compile warning.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@391 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/error.c')
-rw-r--r--libssh/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/error.c b/libssh/error.c
index 36fed437..b44ab402 100644
--- a/libssh/error.c
+++ b/libssh/error.c
@@ -36,7 +36,7 @@
*/
/* ssh_set_error registers an error with a description. the error code is the class of error, and description is obvious.*/
-void ssh_set_error(void *error,int code,char *descr,...){
+void ssh_set_error(void *error, int code, const char *descr, ...) {
struct error_struct *err= error;
va_list va;
va_start(va,descr);