aboutsummaryrefslogtreecommitdiff
path: root/src/error.c
AgeCommit message (Collapse)AuthorFilesLines
2022-10-07SSH_LOG_TRACE: Recategorize loglevelsNorbert Pocs1-2/+2
Do not print out logs when no fatal error happens. This approach is similiar to openssh, when Error/Fatal does not print recoverable error logs. recategorized based on - SSH_LOG_TRACE are debug logs when error happens Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2022-09-29error.c: Remove dot from documentation group definitionNorbert Pocs1-1/+1
Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2022-05-02Fix multiple spelling and grammar mistakesJunda Ai1-1/+1
Signed-off-by: Junda Ai <aijunda29@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2018-08-27error: Add ssh_reset_error() functionAndreas Schneider1-0/+15
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-06-28Remove vim modelines from all filesAndreas Schneider1-2/+0
If you want modelines use my vim plugin: https://github.com/cryptomilk/git-modeline.vim git config --add vim.modeline "ts=4 sw=4 et" Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2017-10-28Fix config.h includesAndreas Schneider1-0/+2
We need stdlib.h and string.h in priv.h for free() and memset(). Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2014-01-22doc: Fix description of error parameter for ssh_get_error*Alan Dunn1-2/+2
ssh_get_error can actually work on anything with an ssh_common_struct as its first member. It is already used in examples in the distribution with ssh_sessions and ssh_binds. Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-21error: Fix logging in ssh_set_error().Andreas Schneider1-3/+5
2013-07-14error: Use new logging function.Andreas Schneider1-5/+3
2011-09-17error: Use macros for error functions.Andreas Schneider1-14/+28
2011-07-19Fixes the ssh_log issue on ssh_bind handles.Aris Adamantiadis1-4/+5
2011-01-10Log errors with ssh_logAris Adamantiadis1-0/+1
2010-09-06misc: Rename libssh/ to src/Andreas Schneider1-0/+123