mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-25 23:21:26 +03:00
Fix empty-body warning in nanohttp.c
This commit is contained in:
parent
1a595cd173
commit
629e47e7a2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user