summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2006-11-01 12:04:27 +0000
committerArthur de Jong <arthur@arthurdejong.org>2006-11-01 12:04:27 +0000
commit11fb79a656889b6b2740b39acc48164693d265cd (patch)
treea22bd664d770d34dbcdf931d3c961a9128e4f94e
parent54a79f88b97ed61976bbc3e064a8b499ae3b35d5 (diff)
prefix debugging messages with DEBUG
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@42 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index f3083a9..72a28a3 100644
--- a/log.c
+++ b/log.c
@@ -144,7 +144,7 @@ void log_log(int pri,const char *format, ...)
{
/* if logging is not yet defined, log to stderr */
if (pri<=prelogging_loglevel)
- fprintf(stderr,"%s: %s\n",PACKAGE,buffer);
+ fprintf(stderr,"%s: %s%s\n",PACKAGE,pri==LOG_DEBUG?"DEBUG: ":"",buffer);
}
else
{