Mercurial > hg > xemacs-beta
diff netinstall/nio-ftp.cc @ 672:42a8626b741e
[xemacs-hg @ 2001-10-26 02:42:53 by andyp]
more netinstaller fixes
author | andyp |
---|---|
date | Fri, 26 Oct 2001 02:42:53 +0000 |
parents | e7ef97881643 |
children |
line wrap: on
line diff
--- a/netinstall/nio-ftp.cc Mon Oct 01 12:47:10 2001 +0000 +++ b/netinstall/nio-ftp.cc Fri Oct 26 02:42:53 2001 +0000 @@ -43,7 +43,7 @@ last_line = s->gets (); log (LOG_BABBLE, "ftp > %s", last_line); } while (last_line && (!isdigit (last_line[0]) || last_line[3] != ' ')); - return atoi (last_line ? last_line : "0"); + return atoi (last_line ?: "0"); } NetIO_FTP::NetIO_FTP (char *Purl) @@ -73,7 +73,7 @@ code = ftp_line (c); if (code == 331) { - c->printf ("PASS xenacs-setup@\r\n"); + c->printf ("PASS xemacs-setup@\r\n"); code = ftp_line (c); }