diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2006-11-01 12:04:27 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2006-11-01 12:04:27 +0000 |
commit | 11fb79a656889b6b2740b39acc48164693d265cd (patch) | |
tree | a22bd664d770d34dbcdf931d3c961a9128e4f94e | |
parent | 54a79f88b97ed61976bbc3e064a8b499ae3b35d5 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |