diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-03-12 15:55:08 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-03-12 15:55:08 +0000 |
commit | 5681c542f68232573b7fe6efa92a66457b3c6b4d (patch) | |
tree | d3fd46274cc9f0d9ee3f20365f1c9f1dfd1ca212 /libssh/error.c | |
parent | fe5f283c4865c34b44795c31cb7917aa00857cef (diff) | |
download | libssh-5681c542f68232573b7fe6efa92a66457b3c6b4d.tar.gz libssh-5681c542f68232573b7fe6efa92a66457b3c6b4d.tar.xz libssh-5681c542f68232573b7fe6efa92a66457b3c6b4d.zip |
R.I.P. ssh_say()
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@271 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/error.c')
-rw-r--r-- | libssh/error.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libssh/error.c b/libssh/error.c index 2ad6777..9c360d8 100644 --- a/libssh/error.c +++ b/libssh/error.c @@ -29,8 +29,6 @@ MA 02111-1307, USA. */ * @{ */ -static int verbosity; - /* 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,...){ struct error_struct *err= error; @@ -64,16 +62,4 @@ int ssh_get_error_code(void *error){ return err->error_code; } -void ssh_say(int priority, const char *format, ...){ - va_list va; - va_start(va,format); - if(priority <= verbosity) - vfprintf(stderr,format,va); - va_end(va); -} - -void ssh_set_verbosity(int num){ - verbosity=num; -} - /** @} */ |