From c1159caade2f7bf6a1198599d1c41aca163be468 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 30 May 1996 19:28:55 +0000 Subject: [PATCH] Simplified SYST response. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@548 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpcmd.y | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/appl/ftp/ftpd/ftpcmd.y b/appl/ftp/ftpd/ftpcmd.y index ff1528133..d7e301edf 100644 --- a/appl/ftp/ftpd/ftpcmd.y +++ b/appl/ftp/ftpd/ftpcmd.y @@ -539,16 +539,11 @@ cmd } | SYST CRLF { -#ifdef unix -#ifdef BSD - reply(215, "UNIX Type: L%d Version: BSD-%d", - NBBY, BSD); -#else /* BSD */ - reply(215, "UNIX Type: L%d", NBBY); -#endif /* BSD */ -#else /* unix */ - reply(215, "UNKNOWN Type: L%d", NBBY); -#endif /* unix */ +#if defined(unix) || defined(__unix__) || defined(_AIX) || defined(_CRAY) + reply(215, "UNIX Type: L%d", NBBY); +#else + reply(215, "UNKNOWN Type: L%d", NBBY); +#endif } /*