diff options
Diffstat (limited to 'vchat-connection.c')
| -rw-r--r-- | vchat-connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vchat-connection.c b/vchat-connection.c index dea69d0..d0abc0d 100644 --- a/vchat-connection.c +++ b/vchat-connection.c | |||
| @@ -166,7 +166,7 @@ int vc_connect(const char *server, const char *port) { | |||
| 166 | #endif | 166 | #endif |
| 167 | #ifdef TLS_LIB_MBEDTLS | 167 | #ifdef TLS_LIB_MBEDTLS |
| 168 | if (_engine == TLS_ENGINE_MBEDTLS) | 168 | if (_engine == TLS_ENGINE_MBEDTLS) |
| 169 | result = vc_mbedtls_connect(serverfd, &vc_store); | 169 | result = vc_mbedtls_connect(server, serverfd, &vc_store); |
| 170 | #endif | 170 | #endif |
| 171 | vc_cleanup_x509store(&vc_store); | 171 | vc_cleanup_x509store(&vc_store); |
| 172 | 172 | ||
