summaryrefslogtreecommitdiff
path: root/nanoftp.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2000-02-02 17:15:36 +0000
committerDaniel Veillard <veillard@src.gnome.org>2000-02-02 17:15:36 +0000
commit5feb8495f4419f280a9503a97de18d28ffee3b40 (patch)
tree5a93d0b8a0e6eadb1d419e0c028c1a3be09c3698 /nanoftp.c
parentf341f93011acdb101855a491f3679c6e575d9d60 (diff)
downloadlibxml2-5feb8495f4419f280a9503a97de18d28ffee3b40.tar.gz
- Removing warnings on various paltforms
- closing bug #5281 Daniel
Diffstat (limited to 'nanoftp.c')
-rw-r--r--nanoftp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nanoftp.c b/nanoftp.c
index ec363e13..4fa38852 100644
--- a/nanoftp.c
+++ b/nanoftp.c
@@ -56,6 +56,9 @@
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
#include "xmlmemory.h"
#include "nanoftp.h"
@@ -1039,7 +1042,7 @@ xmlNanoFTPConnect(void *ctx) {
res = xmlNanoFTPGetResponse(ctxt);
switch (res) {
case 2:
- return(0);
+ break;
case 3:
fprintf(stderr, "FTP server asking for ACCNT on anonymous\n");
case 1: