diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-04-07 10:57:57 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-04-07 10:57:57 +0000 |
commit | 5e11991d00b31f65923b99a3ce2ba7f992d20beb (patch) | |
tree | 6b35c12b8e570311fdce8143181757bcd39c5e4d /xmlsecurity/source/xmlsec/errorcallback.cxx | |
parent | a2b19eda281b945f1e4d10b851eedaf7ceb476c5 (diff) |
INTEGRATION: CWS jl32 (1.5.28); FILE MERGED
2006/03/31 07:40:03 jl 1.5.28.6: #i62684#
2006/03/31 07:34:42 jl 1.5.28.5: #i62684#
2006/03/31 07:19:18 jl 1.5.28.4: #i62684#
2006/03/31 07:08:23 jl 1.5.28.3: #i62684#
2006/03/30 10:56:44 jl 1.5.28.2: #i62684# added debug output in case of libxmlsec error
2006/03/29 13:44:43 jl 1.5.28.1: #i62684# added debug output in case of libxmlsec error
Diffstat (limited to 'xmlsecurity/source/xmlsec/errorcallback.cxx')
-rw-r--r-- | xmlsecurity/source/xmlsec/errorcallback.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/errorcallback.cxx b/xmlsecurity/source/xmlsec/errorcallback.cxx index 36e96a551..f157fa3e5 100644 --- a/xmlsecurity/source/xmlsec/errorcallback.cxx +++ b/xmlsecurity/source/xmlsec/errorcallback.cxx @@ -4,9 +4,9 @@ * * $RCSfile: errorcallback.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-11-11 09:19:25 $ + * last change: $Author: vg $ $Date: 2006-04-07 11:57:57 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -159,6 +159,13 @@ void errorCallback(const char *file, int reason, const char *msg) { +#if OSL_DEBUG_LEVEL > 1 + const char * afunc = func ? func : ""; + const char * errObj = errorObject ? errorObject : ""; + const char * errSub = errorSubject ? errorSubject : ""; + const char * amsg = msg ? msg : ""; + fprintf(stdout, "xmlsec error: %s, %s, %s, %i %s \n", afunc, errObj, errSub, reason, amsg); +#endif //ToDo write log message // if (g_xErrorRecorder.is() && !g_bErrorRecorded) // { |