From 2aeeb5a518ed88c97c43bad1ccc3a44efdc19950 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 5 Apr 2009 10:39:08 +0000 Subject: [PATCH] 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 --- include/libssh/priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */