From 96723f3a57c6d440dc8f9879e7835546406eb66b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 2 May 2016 02:10:45 +0200 Subject: [PATCH] Cleanup --- libretro-common/net/net_http.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libretro-common/net/net_http.c b/libretro-common/net/net_http.c index e1bca08d30..97c8285ffc 100644 --- a/libretro-common/net/net_http.c +++ b/libretro-common/net/net_http.c @@ -98,11 +98,11 @@ error: static void net_http_send_str(int fd, bool *error, const char *text) { - if (!*error) - { - if (!socket_send_all_blocking(fd, text, strlen(text), true)) - *error = true; - } + if (*error) + return; + + if (!socket_send_all_blocking(fd, text, strlen(text), true)) + *error = true; } static char* urlencode(const char* url)