diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2000-02-02 17:15:36 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2000-02-02 17:15:36 +0000 |
commit | 5feb8495f4419f280a9503a97de18d28ffee3b40 (patch) | |
tree | 5a93d0b8a0e6eadb1d419e0c028c1a3be09c3698 /nanoftp.c | |
parent | f341f93011acdb101855a491f3679c6e575d9d60 (diff) | |
download | libxml2-5feb8495f4419f280a9503a97de18d28ffee3b40.tar.gz |
- Removing warnings on various paltforms
- closing bug #5281
Daniel
Diffstat (limited to 'nanoftp.c')
-rw-r--r-- | nanoftp.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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: |