summaryrefslogtreecommitdiff
path: root/vchat-connection.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2022-05-20 01:12:42 +0200
committerDirk Engling <erdgeist@erdgeist.org>2022-05-20 01:12:42 +0200
commit52a72be2a6790a5a59d19c11847aa27b9e32ea89 (patch)
tree2779a209384f525583d6945ebec83a4098f513a0 /vchat-connection.c
parent92c67507e7b9b94341b3453b01a124f642aa68fb (diff)
Implement a happy path mbedtls wrapper
Diffstat (limited to 'vchat-connection.c')
-rw-r--r--vchat-connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vchat-connection.c b/vchat-connection.c
index c0648c8..5ab4dd4 100644
--- a/vchat-connection.c
+++ b/vchat-connection.c
@@ -135,6 +135,7 @@ vc_connect (const char *server, const char *port)
135 close(serverfd); 135 close(serverfd);
136 serverfd = -1; 136 serverfd = -1;
137 errno = EIO; 137 errno = EIO;
138 vc_tls_cleanup();
138 snprintf (tmpstr, TMPSTRSIZE, getformatstr(FS_CANTCONNECT), server, port ); 139 snprintf (tmpstr, TMPSTRSIZE, getformatstr(FS_CANTCONNECT), server, port );
139 writechan (tmpstr); 140 writechan (tmpstr);
140 return -1; 141 return -1;