mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
cheevos.c - cleanup
This commit is contained in:
parent
0a3db8f7bb
commit
c02e8ee202
10
cheevos.c
10
cheevos.c
@ -1057,11 +1057,7 @@ static const char* cheevos_http_get( const char* url, size_t* size )
|
||||
while ( !net_http_connection_iterate( conn ) ) { }
|
||||
|
||||
if ( !net_http_connection_done( conn ) )
|
||||
{
|
||||
error1:
|
||||
net_http_connection_free( conn );
|
||||
return NULL;
|
||||
}
|
||||
goto error;
|
||||
|
||||
http = net_http_new( conn );
|
||||
|
||||
@ -1090,6 +1086,10 @@ error1:
|
||||
|
||||
return (char*)result;
|
||||
|
||||
error1:
|
||||
net_http_connection_free( conn );
|
||||
return NULL;
|
||||
|
||||
#else /* HAVE_NETWORKING */
|
||||
|
||||
RARCH_LOG( "CHEEVOS http get %s\n", url );
|
||||
|
Loading…
x
Reference in New Issue
Block a user