]> diplodocus.org Git - nmh/blobdiff - sbr/gans.c
Enable TLS by default.
[nmh] / sbr / gans.c
index c0804cde062a70be090dd9c1baf9423ffdfab290..70234029ed9720754da058ef20f894ef04438dda 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * gans.c -- get an answer from the user
  *
- * $Id$
- *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
@@ -28,12 +26,7 @@ gans (char *prompt, struct swit *ansp)
            if (i == EOF)
                return 0;
            if (cp < &ansbuf[sizeof ansbuf - 1]) {
-#ifdef LOCALE
                i = (isalpha(i) && isupper(i)) ? tolower(i) : i;
-#else
-               if (i >= 'A' && i <= 'Z')
-                   i += 'a' - 'A';
-#endif
                *cp++ = i;
            }
        }