Module Name: src
Committed By: christos
Date: Mon Mar 4 17:10:33 UTC 2024
Modified Files:
src/external/bsd/openldap/dist/libraries/liblutil: getpass.c
Log Message:
Fix DEBUG build.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/openldap/dist/libraries/liblutil/getpass.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/openldap/dist/libraries/liblutil/getpass.c
diff -u src/external/bsd/openldap/dist/libraries/liblutil/getpass.c:1.3 src/external/bsd/openldap/dist/libraries/liblutil/getpass.c:1.4
--- src/external/bsd/openldap/dist/libraries/liblutil/getpass.c:1.3 Sat Aug 14 12:14:58 2021
+++ src/external/bsd/openldap/dist/libraries/liblutil/getpass.c Mon Mar 4 12:10:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: getpass.c,v 1.3 2021/08/14 16:14:58 christos Exp $ */
+/* $NetBSD: getpass.c,v 1.4 2024/03/04 17:10:33 christos Exp $ */
/* getpass.c -- get password from user */
/* $OpenLDAP$ */
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: getpass.c,v 1.3 2021/08/14 16:14:58 christos Exp $");
+__RCSID("$NetBSD: getpass.c,v 1.4 2024/03/04 17:10:33 christos Exp $");
#include "portable.h"
@@ -86,11 +86,6 @@ lutil_getpass( const char *prompt )
if( prompt == NULL ) prompt = _("Password: ");
-#ifdef DEBUG
- if (debug & D_TRACE)
- printf("->getpass(%s)\n", prompt);
-#endif
-
#if defined(HAVE_TERMIOS_H) || defined(HAVE_SGTTY_H)
if ((fi = fopen(TTY, "r")) == NULL)
fi = stdin;