-/* $OpenBSD: ftpd.c,v 1.230 2021/05/20 15:21:03 jan Exp $ */
+/* $OpenBSD: ftpd.c,v 1.231 2021/05/22 14:30:46 jan Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
line[strcspn(line, "\n")] = '\0';
lreply(530, "%s", line);
}
- (void) fflush(stdout);
(void) fclose(fp);
reply(530, "System not available.");
exit(0);
line[strcspn(line, "\n")] = '\0';
lreply(220, "%s", line);
}
- (void) fflush(stdout);
(void) fclose(fp);
/* reply(220,) must follow */
}
line[strcspn(line, "\n")] = '\0';
lreply(230, "%s", line);
}
- (void) fflush(stdout);
(void) fclose(fp);
}
free(motd);
line[strcspn(line, "\n")] = '\0';
lreply(250, "%s", line);
}
- (void) fflush(stdout);
(void) fclose(message);
}
ack("CWD");