diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-03-04 22:17:55 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-04-08 11:32:23 -0400 |
commit | 4a28fb10122bd74ba33607af46f028813de9161d (patch) | |
tree | ac0e97fc7be4f8c84a8591acc3fc66e96366aa8e /src/providers/ldap/sdap.h | |
parent | 63d85fff72563cb913287ab7785c551fa98fc35d (diff) | |
download | sssd-4a28fb10122bd74ba33607af46f028813de9161d.tar.gz sssd-4a28fb10122bd74ba33607af46f028813de9161d.tar.bz2 sssd-4a28fb10122bd74ba33607af46f028813de9161d.zip |
Don't pass NULL to printf for TLS errors
https://fedorahosted.org/sssd/ticket/643
Diffstat (limited to 'src/providers/ldap/sdap.h')
-rw-r--r-- | src/providers/ldap/sdap.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h index 32dc3444..01a00d90 100644 --- a/src/providers/ldap/sdap.h +++ b/src/providers/ldap/sdap.h @@ -26,16 +26,6 @@ #include <ldap.h> #include "util/sss_ldap.h" -#ifdef LDAP_OPT_DIAGNOSTIC_MESSAGE -#define SDAP_DIAGNOSTIC_MESSAGE LDAP_OPT_DIAGNOSTIC_MESSAGE -#else -#ifdef LDAP_OPT_ERROR_STRING -#define SDAP_DIAGNOSTIC_MESSAGE LDAP_OPT_ERROR_STRING -#else -#error No extended diagnostic message available -#endif -#endif - struct sdap_msg { struct sdap_msg *next; LDAPMessage *msg; |