X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Fstring.c;h=4f860ada785e68cfee3c875b314a42bd7ccffc13;hb=de01a6e3d791d3458549d2ceeccf4d7e0477ff78;hp=60c228914b2a669ae19bd6da76322fa701474a09;hpb=dc0eacd40b625258355eea866d62188e5aa7ce3b;p=openldap diff --git a/libraries/libldap/string.c b/libraries/libldap/string.c index 60c228914b..4f860ada78 100644 --- a/libraries/libldap/string.c +++ b/libraries/libldap/string.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2005 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 ) {