* amd/info_ldap.c (amu_ldap_init): change plog to dlog, to avoid
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 17 May 2005 16:48:55 +0000 (16:48 +0000)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 17 May 2005 16:48:55 +0000 (16:48 +0000)
sending annoying warning for a minor issue.

* amd/nfs_subr.c: check for NULL pointer before dereferencing it.

ChangeLog
NEWS
amd/info_ldap.c

index 3a9187242e951c9dc72f39cf6883c4ffcedd61dc..7a3d67f59b5c65f7d83d2f5cc824a001483de750 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
+2005-05-17  Erez Zadok  <ezk@cs.sunysb.edu>
+
+       * 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 <ionut@moisil.badula.org>
 
-       * 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  <ezk@cs.sunysb.edu>
 
diff --git a/NEWS b/NEWS
index d5db8f00c4084a12a9d9b50ea54d2535fb19af53..f661928c946013d8d5162d922153f8602839f472 100644 (file)
--- 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
 
index ca4cab9a9e6de6315940f840090d15bf18bb9b58..47ef56790ca4a06891ffe1ddce43f5e7c1b04e43 100644 (file)
@@ -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);