summaryrefslogtreecommitdiff
path: root/nanoftp.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-08-13 10:43:15 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-08-13 10:43:15 +0000
commitf300b7e701fd4425de7a3bd635ed017afb04aea2 (patch)
treef995c0ee42fadb359782b2d0b7b8018acfd67fac /nanoftp.c
parent0c72097505fd34a40d6e354b179f8eacd55848c9 (diff)
downloadlibxml2-f300b7e701fd4425de7a3bd635ed017afb04aea2.tar.gz
small fix fixing bug #58539 reported by coolo, in entity substitution mode
* SAX.c: small fix fixing bug #58539 reported by coolo, in entity substitution mode text at the end of the entity might be added due to text coalescing. * nanoftp.c parser.c: small cleanup Daniel
Diffstat (limited to 'nanoftp.c')
-rw-r--r--nanoftp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nanoftp.c b/nanoftp.c
index c8ff2617..bb6bae6b 100644
--- a/nanoftp.c
+++ b/nanoftp.c
@@ -1220,6 +1220,7 @@ xmlNanoFTPGetConnection(void *ctx) {
struct sockaddr_in dataAddr;
SOCKLEN_T dataAddrLen;
+retry:
ctxt->dataFd = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP);
if (ctxt->dataFd < 0) {
xmlGenericError(xmlGenericErrorContext,