1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-02 01:17:52 +03:00

Log errors with ssh_log

This commit is contained in:
Aris Adamantiadis
2011-01-10 11:23:49 +01:00
parent ac6278feb7
commit 4439d5c774

View File

@@ -54,6 +54,7 @@ void ssh_set_error(void *error, int code, const char *descr, ...) {
vsnprintf(err->error_buffer, ERROR_BUFFERLEN, descr, va);
va_end(va);
err->error_code = code;
ssh_log(error,SSH_LOG_RARE,"Error : %s",err->error_buffer);
}
/**