]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/string.c
further clarify size limit related issues in sync replication (ITS#5243)
[openldap] / libraries / libldap / string.c
index 8f6906a8ac70b87a09f482651e7213199e28b4a8..4f860ada785e68cfee3c875b314a42bd7ccffc13 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -126,7 +126,7 @@ ldap_pvt_str2upperbv( char *str, struct berval *bv )
 {
        char    *s = NULL;
 
-       assert( bv );
+       assert( bv != NULL );
 
        /* to upper */
        if ( str ) {
@@ -161,7 +161,7 @@ ldap_pvt_str2lowerbv( char *str, struct berval *bv )
 {
        char    *s = NULL;
 
-       assert( bv );
+       assert( bv != NULL );
 
        /* to lower */
        if ( str ) {