]> git.sur5r.net Git - openldap/blobdiff - libraries/liblber/memory.c
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
[openldap] / libraries / liblber / memory.c
index 6dbdea72c7f904d7b14d07a4cf44021b1a98b9c2..599a542988ad757e9e3b342b4f1265fcaaec65e6 100644 (file)
@@ -698,25 +698,3 @@ ber_bvarray_add( BerVarray *a, BerValue *bv )
        return n;
 }
 
-char *
-ber_bvchr( struct berval *bv, char c )
-{
-       ber_len_t       p;
-
-       assert( bv );
-       
-       if ( bv->bv_len == 0 ) {
-               return NULL;
-       }
-
-       assert( bv->bv_val );
-       
-       for ( p = 0; p < bv->bv_len; p++ ) {
-               if ( bv->bv_val[ p ] == c ) {
-                       return &bv->bv_val[ p ];
-               }
-       }
-
-       return NULL;
-}
-