X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Fliblber%2Fetest.c;h=3e8ff55ced81b6f1540e07b81d9be23b86813e92;hb=e86e39ad311e12c79967c2da07fd9f0a1c513188;hp=266262cd0b146eef8312457dc5b4eb3cf4cd22aa;hpb=a3ac3be6a7b0dd405c940ea62f7aa6af6dbe6caf;p=openldap diff --git a/libraries/liblber/etest.c b/libraries/liblber/etest.c index 266262cd0b..3e8ff55ced 100644 --- a/libraries/liblber/etest.c +++ b/libraries/liblber/etest.c @@ -1,5 +1,9 @@ /* test.c - lber encoding test program */ /* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ +/* Portions * Copyright (c) 1990 Regents of the University of Michigan. * All rights reserved. */ @@ -54,7 +58,7 @@ main( int argc, char **argv ) fd = fileno(stdout); #endif /* MACOS */ - sb = lber_sockbuf_alloc_fd( fd ); + sb = lber_pvt_sb_alloc_fd( fd ); if ( (ber = ber_alloc()) == NULLBER ) { perror( "ber_alloc" ); @@ -167,6 +171,6 @@ main( int argc, char **argv ) #endif - lber_sockbuf_free( sb ); + lber_pvt_sb_free( sb ); return( 0 ); }