Skip to content
Browse files

Don't use the TEST define for conditional debug printing.

  • Loading branch information...
1 parent ee37b5b commit d989974b166c4798798ef53a16dbe50e5c997528 @aadamowski committed Jan 22, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 src/lib/krb5/os/Makefile.in
  2. +1 −2 src/lib/krb5/os/locate_kdc.c
View
2 src/lib/krb5/os/Makefile.in
@@ -4,7 +4,7 @@ KRB5_RUN_ENV = @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
DEFS=
-DEFINES=-DLIBDIR=\"$(KRB5_LIBDIR)\" -DDEBUG -DTEST
+DEFINES=-DLIBDIR=\"$(KRB5_LIBDIR)\" -DDEBUG
LOCALINCLUDES=-I$(top_srcdir)/util/profile
##DOS##BUILDTOP = ..\..\..
View
3 src/lib/krb5/os/locate_kdc.c
@@ -109,12 +109,11 @@ k5_free_serverlist (struct serverlist *list)
list->nservers = 0;
}
-#define TEST
#include <stdarg.h>
static inline void
Tprintf(const char *fmt, ...)
{
-#ifdef TEST
+#ifdef DEBUG
va_list ap;
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);

0 comments on commit d989974

Please sign in to comment.
Something went wrong with that request. Please try again.