summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-05 10:39:08 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-05 10:39:08 +0000
commit2aeeb5a518ed88c97c43bad1ccc3a44efdc19950 (patch)
tree9ee3f7cdc910b8816d842bdb54245891e2fe454b
parentc8265940ea42fbc77cf7cea84f371280068c0a0b (diff)
downloadlibssh-2aeeb5a518ed88c97c43bad1ccc3a44efdc19950.tar.gz
libssh-2aeeb5a518ed88c97c43bad1ccc3a44efdc19950.tar.xz
libssh-2aeeb5a518ed88c97c43bad1ccc3a44efdc19950.zip
Add printf checking for ssh_set_error().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@404 7dcaeef0-15fb-0310-b436-a5af3365683c
-rw-r--r--include/libssh/priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 81bc44e2..975925b4 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -510,7 +510,7 @@ int ssh_send_banner(SSH_SESSION *session, int is_server);
char *ssh_get_banner(SSH_SESSION *session);
/* errors.c */
-void ssh_set_error(void *error, int code, const char *descr, ...);
+void ssh_set_error(void *error, int code, const char *descr, ...) PRINTF_ATTRIBUTE(3, 4);
/* in dh.c */
/* DH key generation */