]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/string.c
ITS#4844 add missing overlays
[openldap] / libraries / libldap / string.c
index 21330d4ae574a4920bd3bde41206205f59fa0e3a..4f860ada785e68cfee3c875b314a42bd7ccffc13 100644 (file)
@@ -1,7 +1,16 @@
 /* $OpenLDAP$ */
-/*
- * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2007 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
  */
 
 /*
@@ -117,7 +126,7 @@ ldap_pvt_str2upperbv( char *str, struct berval *bv )
 {
        char    *s = NULL;
 
-       assert( bv );
+       assert( bv != NULL );
 
        /* to upper */
        if ( str ) {
@@ -152,7 +161,7 @@ ldap_pvt_str2lowerbv( char *str, struct berval *bv )
 {
        char    *s = NULL;
 
-       assert( bv );
+       assert( bv != NULL );
 
        /* to lower */
        if ( str ) {