Match the newer Error API

This commit is contained in:
Pierre Pronchery 2015-11-22 16:09:47 +01:00
parent 6a2b963e17
commit fed91ed241

View File

@ -188,7 +188,7 @@ static TCP * _tcp_init(AppTransportPluginHelper * helper, AppTransportMode mode,
{
#ifdef DEBUG
fprintf(stderr, "DEBUG: %s() => %d (%s)\n", __func__, res,
error_get());
error_get(NULL));
#endif
_tcp_destroy(tcp);
return NULL;