X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=netinstall%2Fnio-ftp.cc;h=9aa41dee541eb676b94142969dc981c6b687c083;hp=f30beb65226f62bd8b380a8df1086d62ff779e2e;hb=HEAD;hpb=1ecbe603154527afa87c21523aedd8e3bda77c2f diff --git a/netinstall/nio-ftp.cc b/netinstall/nio-ftp.cc index f30beb6..9aa41de 100644 --- a/netinstall/nio-ftp.cc +++ b/netinstall/nio-ftp.cc @@ -43,7 +43,7 @@ ftp_line (SimpleSocket *s) 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 @@ NetIO_FTP::NetIO_FTP (char *Purl) code = ftp_line (c); if (code == 331) { - c->printf ("PASS cygwin-setup@\r\n"); + c->printf ("PASS xemacs-setup@\r\n"); code = ftp_line (c); }