[libxml2] Fix empty-body warning in nanohttp.c



commit 629e47e7a28264627ac5de95a3aa450d6b46b837
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Sat Jun 17 14:51:10 2017 +0200

    Fix empty-body warning in nanohttp.c

 nanohttp.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/nanohttp.c b/nanohttp.c
index 373425d..b911f9c 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -1534,7 +1534,8 @@ retry:
        xmlGenericError(xmlGenericErrorContext,
                "\nRedirect to: %s\n", ctxt->location);
 #endif
-       while ( xmlNanoHTTPRecv(ctxt) > 0 ) ;
+       while ( xmlNanoHTTPRecv(ctxt) > 0 )
+            ;
         if (nbRedirects < XML_NANO_HTTP_MAX_REDIR) {
            nbRedirects++;
            if (redirURL != NULL)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]