Adapt to the new API for the Error class

This commit is contained in:
Pierre Pronchery 2015-11-23 00:18:05 +01:00
parent fd9a70daff
commit 449a21a522

View File

@ -204,7 +204,7 @@ static SSLTransport * _ssl_init(AppTransportPluginHelper * helper,
{
#ifdef DEBUG
fprintf(stderr, "DEBUG: %s() => %d (%s)\n", __func__, res,
error_get());
error_get(NULL));
#endif
_ssl_destroy(ssl);
return NULL;