mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +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 ) ) { }
|
while ( !net_http_connection_iterate( conn ) ) { }
|
||||||
|
|
||||||
if ( !net_http_connection_done( conn ) )
|
if ( !net_http_connection_done( conn ) )
|
||||||
{
|
goto error;
|
||||||
error1:
|
|
||||||
net_http_connection_free( conn );
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
http = net_http_new( conn );
|
http = net_http_new( conn );
|
||||||
|
|
||||||
@ -1090,6 +1086,10 @@ error1:
|
|||||||
|
|
||||||
return (char*)result;
|
return (char*)result;
|
||||||
|
|
||||||
|
error1:
|
||||||
|
net_http_connection_free( conn );
|
||||||
|
return NULL;
|
||||||
|
|
||||||
#else /* HAVE_NETWORKING */
|
#else /* HAVE_NETWORKING */
|
||||||
|
|
||||||
RARCH_LOG( "CHEEVOS http get %s\n", url );
|
RARCH_LOG( "CHEEVOS http get %s\n", url );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user