diff --git a/src/include/3270ds.h b/src/include/3270ds.h index aed8344..b80aa4a 100644 --- a/src/include/3270ds.h +++ b/src/include/3270ds.h @@ -20,10 +20,9 @@ * file LICENSE for more details. */ -/* - * 3270ds.h - * - * Header file for the 3270 Data Stream Protocol. +/** + * @file 3270ds.h + * @brief Header file for the 3270 Data Stream Protocol. */ /* 3270 commands */ diff --git a/src/lib3270/connect.c b/src/lib3270/connect.c index 43b9533..0c8a76f 100644 --- a/src/lib3270/connect.c +++ b/src/lib3270/connect.c @@ -101,8 +101,10 @@ static int background_ssl_crl_check(H3270 *hSession, void *ssl_error) { if(ssl_error.description) lib3270_popup_dialog(hSession, LIB3270_NOTIFY_ERROR, ssl_error.title, ssl_error.text, "%s", ssl_error.description); - else + else if(ssl_error.error) lib3270_popup_dialog(hSession, LIB3270_NOTIFY_ERROR, ssl_error.title, ssl_error.text, "%s", ERR_reason_error_string(ssl_error.error)); + else + lib3270_popup_dialog(hSession, LIB3270_NOTIFY_ERROR, ssl_error.title, ssl_error.text, "%s",""); return errno = rc; } -- libgit2 0.21.2