diff --git a/examples/client/client.c b/examples/client/client.c index 13a4d47..759a9a2 100644 --- a/examples/client/client.c +++ b/examples/client/client.c @@ -1076,7 +1076,7 @@ THREAD_RETURN WOLFSSH_THREAD client_test(void* args) if (userPrivateKey != NULL) free(userPrivateKey); if (ret != WS_SUCCESS) - err_sys("Closing stream failed. Connection could have been closed by peer"); + err_sys("Closing client stream failed. Connection could have been closed by peer"); #if defined(HAVE_ECC) && defined(FP_ECC) && defined(HAVE_THREAD_LS) wc_ecc_fp_free(); /* free per thread cache */ diff --git a/examples/portfwd/portfwd.c b/examples/portfwd/portfwd.c index 1c06b13..23fa059 100644 --- a/examples/portfwd/portfwd.c +++ b/examples/portfwd/portfwd.c @@ -435,7 +435,7 @@ THREAD_RETURN WOLFSSH_THREAD portfwd_worker(void* args) ret = wolfSSH_shutdown(ssh); if (ret != WS_SUCCESS) - err_sys("Closing stream failed."); + err_sys("Closing port forward stream failed."); WCLOSESOCKET(sshFd); WCLOSESOCKET(listenFd); diff --git a/examples/scpclient/scpclient.c b/examples/scpclient/scpclient.c index 8e31cb7..eec1a92 100644 --- a/examples/scpclient/scpclient.c +++ b/examples/scpclient/scpclient.c @@ -357,7 +357,7 @@ THREAD_RETURN WOLFSSH_THREAD scp_client(void* args) wolfSSH_free(ssh); wolfSSH_CTX_free(ctx); if (ret != WS_SUCCESS) - err_sys("Closing stream failed. Connection could have been closed by peer"); + err_sys("Closing scp stream failed. Connection could have been closed by peer"); #if defined(HAVE_ECC) && defined(FP_ECC) && defined(HAVE_THREAD_LS) wc_ecc_fp_free(); /* free per thread cache */