From: Erez Zadok Date: Tue, 17 May 2005 16:48:55 +0000 (+0000) Subject: * amd/info_ldap.c (amu_ldap_init): change plog to dlog, to avoid X-Git-Tag: am-utils-6_1_rc5~2 X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=b80bedd111d052121166d9d1bcbd131824248146;p=am-utils-6.2.git * amd/info_ldap.c (amu_ldap_init): change plog to dlog, to avoid sending annoying warning for a minor issue. * amd/nfs_subr.c: check for NULL pointer before dereferencing it. --- diff --git a/ChangeLog b/ChangeLog index 3a918724..7a3d67f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ +2005-05-17 Erez Zadok + + * amd/info_ldap.c (amu_ldap_init): change plog to dlog, to avoid + sending annoying warning for a minor issue. + 2005-05-17 Ion Badulescu - * amd/nfs_subr.c: check for NULL pointer before dereferencing it + * amd/nfs_subr.c: check for NULL pointer before dereferencing it. 2005-05-16 Erez Zadok diff --git a/NEWS b/NEWS index d5db8f00..f661928c 100644 --- a/NEWS +++ b/NEWS @@ -7,7 +7,7 @@ just says "netbsd." powerpc-apple-darwin7.9.0 - bugs fixed: - * silly (and nasty) null pointer dereferencing + * silly (but nasty) null pointer dereferencing *** Notes specific to am-utils version 6.1-rc4 diff --git a/amd/info_ldap.c b/amd/info_ldap.c index ca4cab9a..47ef5679 100644 --- a/amd/info_ldap.c +++ b/amd/info_ldap.c @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * - * $Id: info_ldap.c,v 1.25 2005/05/12 23:01:25 ottavio Exp $ + * $Id: info_ldap.c,v 1.26 2005/05/17 16:48:55 ezk Exp $ * */ @@ -232,7 +232,7 @@ amu_ldap_init(mnt_map *m, char *map, time_t *ts) * map types? */ if (!gopt.map_type || !STREQ(gopt.map_type, AMD_LDAP_TYPE)) { - plog(XLOG_WARNING, "amu_ldap_init called with map_type <%s>\n", + dlog("amu_ldap_init called with map_type <%s>\n", (gopt.map_type ? gopt.map_type : "null")); } else { dlog("Map %s is ldap\n", map);