From 973c830d32f604b188be417435fddee1c40c7b55 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 9 Mar 1999 22:24:50 +0000 Subject: [PATCH] Fix previous changes: //comment -> /*comment*/ --- clients/tools/ldapmodify.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 1be272e08d..7f955623c9 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -96,13 +96,13 @@ main( int argc, char **argv ) int rc, i, use_ldif, authmethod, version, want_bindpw, debug; if (( prog = strrchr( argv[ 0 ], '/' )) == NULL && - ( prog = strrchr( argv[ 0 ], '\\' )) == NULL ) { // for Windows/DOS + ( prog = strrchr( argv[ 0 ], '\\' )) == NULL ) { /*for Windows/DOS*/ prog = argv[ 0 ]; } else { ++prog; } - // Print usage when no parameters + /* Print usage when no parameters */ if( argc < 2 ) usage( prog ); @@ -758,9 +758,11 @@ domodrdn( char *dn, char *newrdn, int deleteoldrdn ) -// for Windows we need local versions of the berval -// free functions because the LDAP DLL uses a different -// heap. +/* + * for Windows we need local versions of the berval + * free functions because the LDAP DLL uses a different + * heap. + */ static void l_ber_bvfree( struct berval *bv ) -- 2.39.5