X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhparse.c;h=4959dfece9dd9bf8e1522045344405ad2f2eff29;hb=a2469f5ecbca3a179251ac9b777b561bc5245d4c;hp=14322ab270046492e29ada891486b94c67c8cc4c;hpb=164be8e5e8b40ce4572281be26d423a9c9d595f3;p=mmh diff --git a/uip/mhparse.c b/uip/mhparse.c index 14322ab..4959dfe 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -2485,10 +2485,8 @@ openFTP (CT ct, char **file) if ((ftp = context_find (nmhaccessftp)) && !*ftp) ftp = NULL; -#ifndef BUILTIN_FTP if (!ftp) return NOTOK; -#endif switch (openExternal (e->eb_parent, e->eb_content, ce, file, &fd)) { case NOTOK: @@ -2587,9 +2585,6 @@ openFTP (CT ct, char **file) return NOTOK; } -#ifdef BUILTIN_FTP - if (ftp) -#endif { int child_id, i, vecp; char *vec[9]; @@ -2625,9 +2620,6 @@ openFTP (CT ct, char **file) default: if (pidXwait (child_id, NULL)) { -#ifdef BUILTIN_FTP -losing_ftp: -#endif username = password = NULL; ce->ce_unlink = 1; return NOTOK; @@ -2635,14 +2627,6 @@ losing_ftp: break; } } -#ifdef BUILTIN_FTP - else - if (ftp_get (e->eb_site, user, pass, e->eb_dir, e->eb_name, - ce->ce_file, - e->eb_mode && !mh_strcasecmp (e->eb_mode, "ascii"), 0) - == NOTOK) - goto losing_ftp; -#endif if (cachefile[0]) { if (caching)