diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2000-11-12 15:56:56 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2000-11-12 15:56:56 +0000 |
commit | bf43275dd1e31ee7542c37f1f7ce21e0ee9218ee (patch) | |
tree | a7922d9afb91ba81da63417c9437c126a2ad3252 /nanoftp.c | |
parent | c2def84b484f6706c2ad7d076a2f3e1c56f76b9f (diff) | |
download | libxml2-bf43275dd1e31ee7542c37f1f7ce21e0ee9218ee.tar.gz |
Bug fixes new Xinclude tests:
- nanoftp.c: fixed gcc 2.95 new warnings
- SAX.c: fixed a stupid bug
- tree.c: fixed a formatting problem when round-tripping
from/to memory
- xinclude.c: chased memleak, fixed a base problem
- xpointer.c: added xmlXPtrBuildRangeNodeList(), finished ?
xmlXPtrBuildNodeList()
- TODO: updated
- Makefile.am test/XInclude/docs test/XInclude/ents result/XInclude:
adding a first small set of regression tests for XInclude
Daniel
Diffstat (limited to 'nanoftp.c')
-rw-r--r-- | nanoftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1310,7 +1310,7 @@ xmlNanoFTPGetConnection(void *ctx) { } cur = &ctxt->controlBuf[ctxt->controlBufAnswer]; while (((*cur < '0') || (*cur > '9')) && *cur != '\0') cur++; - if (sscanf(cur, "%d,%d,%d,%d,%d,%d", &temp[0], &temp[1], &temp[2], + if (sscanf(cur, "%u,%u,%u,%u,%u,%u", &temp[0], &temp[1], &temp[2], &temp[3], &temp[4], &temp[5]) != 6) { xmlGenericError(xmlGenericErrorContext, "Invalid answer to PASV\n"); |