summaryrefslogtreecommitdiff
path: root/libguile-ssh/log.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* libguile-ssh/channel-type.c (ptob_close): Bugfix: fix a segfault•••'ptob_close' would always get a segfault when it tried to free a closed channel. This patch fixes that by adding a check if a channel is already closed. Reported by Michael Bowcutt <mbowcutt@case.edu> in <https://github.com/artyom-poptsov/guile-ssh/issues/8> and Njagi Mwaniki in a personal email. * libguile-ssh/channel-type.c (ptob_close): Check if a channel is already closed before trying to close and free it. Improve logging. * libguile-ssh/log.c (_gssh_log_debug, _gssh_log_debug1): New procedures * libguile-ssh/log.h: Likewise. Artyom V. Poptsov2018-08-071-0/+3
* libguile-ssh/log.h: Add missing includes; use ifndefArtyom V. Poptsov2017-06-041-0/+7
* log.c (_gssh_log_warning): New procedure•••* libguile-ssh/log.c (_gssh_log_warning): New procedure. * libguile-ssh/log.h: Likewise. * libguile-ssh/channel-func.c (guile_ssh_channel_get_exit_status): Issue a warning if 'ssh_channel_get_exit_status' failed to get the exit status. Artyom V. Poptsov2017-05-211-0/+3
* log.c (_gssh_log_error): New procedure•••* libguile-ssh/log.c (_gssh_log_error): New procedure. * libguile-ssh/log.h: Likewise. * libguile-ssh/error.c (guile_ssh_error1): Use it. Artyom V. Poptsov2017-05-211-0/+3
* ssh: Rename to 'libguile-ssh'•••* ssh: Rename to 'libguile-ssh'. * Makefile.am, configure.ac, modules/ssh/Makefile.am, tests/Makefile.am: Update. Artyom V. Poptsov2015-07-251-0/+23