aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-09-17 11:00:33 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-09-17 11:00:33 +0200
commit569312f7bd8a45e9f9c33907e01ced04df60c104 (patch)
tree6989b8c2eefd89090e44c93010ee4c24a5d280d4 /include
parentc2883c1f37324d4b784f47a5afee7ed6ae91b416 (diff)
downloadlibssh-569312f7bd8a45e9f9c33907e01ced04df60c104.tar.gz
libssh-569312f7bd8a45e9f9c33907e01ced04df60c104.tar.xz
libssh-569312f7bd8a45e9f9c33907e01ced04df60c104.zip
log: Remove unneeded ssh_log_function().
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index c6e790f3..0ab371d1 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -267,12 +267,7 @@ SSH_PACKET_CALLBACK(ssh_packet_kexdh_init);
/* LOGGING */
#define SSH_LOG(session, priority, ...) \
- ssh_log_function(session, priority, __FUNCTION__, __VA_ARGS__)
-void ssh_log_function(ssh_session session,
- int prioriry,
- const char *function,
- const char *format, ...) PRINTF_ATTRIBUTE(4, 5);
-
+ ssh_log_common(&session->common, priority, __FUNCTION__, __VA_ARGS__)
void ssh_log_common(struct ssh_common_struct *common,
int verbosity,
const char *function,