author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 15 May 2014 16:58:20 -0700 | |
changeset 1898 | 5c902a3c6e7e |
parent 220 | 3ff562b51ff5 |
permissions | -rw-r--r-- |
--- scheduler/dirsvc.c.orig Fri Apr 23 11:56:34 2010 +++ scheduler/dirsvc.c Mon Dec 6 20:58:17 2010 @@ -1335,7 +1335,7 @@ # if defined(HAVE_LDAP_SSL) && defined (HAVE_MOZILLA_LDAP) if (ldap_ssl && (rc == LDAP_SERVER_DOWN || rc == LDAP_CONNECT_ERROR)) { - ssl_err = PORT_GetError(); + ssl_err = rc; if (ssl_err != 0) cupsdLogMessage(CUPSD_LOG_ERROR, "LDAP SSL error %d: %s", ssl_err, ldapssl_err2string(ssl_err));