From: Kurt Zeilenga Date: Sun, 20 Dec 1998 19:31:21 +0000 (+0000) Subject: Unexpand spaces for tabs in prior commit before merging to rel_eng_1_1. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~910 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e390a807424ea4043fc218995dddb2995245970;p=openldap Unexpand spaces for tabs in prior commit before merging to rel_eng_1_1. --- diff --git a/servers/slapd/tools/centipede.c b/servers/slapd/tools/centipede.c index 11e46ba469..48738aa074 100644 --- a/servers/slapd/tools/centipede.c +++ b/servers/slapd/tools/centipede.c @@ -473,7 +473,7 @@ generate_new_centroids( char **val; char last; - memset( &data, 0 , sizeof( data )); + memset( &data, 0 , sizeof( data )); if ( verbose ) { printf( "Generating new centroids for..." ); @@ -498,7 +498,7 @@ generate_new_centroids( /* for each value */ for ( j = 0; val[j] != NULL; j++ ) { - memset( &key, 0 , sizeof( key )); + memset( &key, 0 , sizeof( key )); /* normalize the value */ for ( s = val[j]; *s; s++ ) { @@ -575,13 +575,13 @@ diff_centroids( fflush( stdout ); } - memset( &okey, 0, sizeof( okey )); - memset( &nkey, 0, sizeof( nkey )); - memset( &olast, 0, sizeof( olast )); - memset( &nlast, 0, sizeof( nlast )); - memset( &lastkey, 0, sizeof( lastkey )); - memset( &key, 0, sizeof( key )); - memset( &data, 0, sizeof( data )); + memset( &okey, 0, sizeof( okey )); + memset( &nkey, 0, sizeof( nkey )); + memset( &olast, 0, sizeof( olast )); + memset( &nlast, 0, sizeof( nlast )); + memset( &lastkey, 0, sizeof( lastkey )); + memset( &key, 0, sizeof( key )); + memset( &data, 0, sizeof( data )); if ( (mods = (LDAPMod **) malloc( sizeof(LDAPMod *) * 4 )) == NULL || (mods[0] = (LDAPMod *) malloc( sizeof(LDAPMod) )) == NULL || @@ -845,8 +845,8 @@ full_centroid( fflush( stdout ); } - memset( &key, 0, sizeof( key )); - memset( &lastkey, 0, sizeof( lastkey )); + memset( &key, 0, sizeof( key )); + memset( &lastkey, 0, sizeof( lastkey )); if ( (mods = (LDAPMod **) malloc( sizeof(LDAPMod *) * 3 )) == NULL || (mods[0] = (LDAPMod *) malloc( sizeof(LDAPMod) )) == NULL || diff --git a/servers/slapd/tools/ldbmcat.c b/servers/slapd/tools/ldbmcat.c index 40208ab86e..658bf98906 100644 --- a/servers/slapd/tools/ldbmcat.c +++ b/servers/slapd/tools/ldbmcat.c @@ -29,9 +29,9 @@ main( int argc, char **argv ) #ifdef HAVE_BERKELEY_DB2 DBC *cursorp; - memset( &key, 0, sizeof( key )); - memset( &last, 0, sizeof( last )); - memset( &data, 0, sizeof( data )); + memset( &key, 0, sizeof( key )); + memset( &last, 0, sizeof( last )); + memset( &data, 0, sizeof( data )); #endif if ( argc < 2 || argc > 3 || ( argc == 3 && strcmp( argv[1], "-n" ) diff --git a/servers/slapd/tools/ldif2id2children.c b/servers/slapd/tools/ldif2id2children.c index c985d83dae..9ff967dfa8 100644 --- a/servers/slapd/tools/ldif2id2children.c +++ b/servers/slapd/tools/ldif2id2children.c @@ -154,8 +154,8 @@ main( int argc, char **argv ) int vlen; Datum key, data; - memset( &key, 0, sizeof( key )); - memset( &data, 0, sizeof( data )); + memset( &key, 0, sizeof( key )); + memset( &data, 0, sizeof( data )); if ( fgets( line, sizeof(line), stdin ) != NULL ) { int len; @@ -240,8 +240,8 @@ main( int argc, char **argv ) char buf2[20]; Datum key, data; - memset( &key, 0, sizeof( key )); - memset( &data, 0, sizeof( data )); + memset( &key, 0, sizeof( key )); + memset( &data, 0, sizeof( data )); if ( fgets( line, sizeof(line), stdin ) != NULL ) { int len; diff --git a/servers/slapd/tools/ldif2id2entry.c b/servers/slapd/tools/ldif2id2entry.c index f91c50a799..2f46d3c533 100644 --- a/servers/slapd/tools/ldif2id2entry.c +++ b/servers/slapd/tools/ldif2id2entry.c @@ -146,8 +146,8 @@ main( int argc, char **argv ) int vlen; Datum key, data; - memset( &key, 0, sizeof( key )); - memset( &data, 0, sizeof( data )); + memset( &key, 0, sizeof( key )); + memset( &data, 0, sizeof( data )); if ( fgets( line, sizeof(line), stdin ) != NULL ) { int len, idlen; diff --git a/servers/slapd/tools/ldif2ldbm.c b/servers/slapd/tools/ldif2ldbm.c index c6df73f4a3..7f759367cc 100644 --- a/servers/slapd/tools/ldif2ldbm.c +++ b/servers/slapd/tools/ldif2ldbm.c @@ -229,8 +229,8 @@ main( int argc, char **argv ) int vlen, indexmask, syntaxmask; Datum key, data; - memset( &key, 0, sizeof( key )); - memset( &data, 0, sizeof( data )); + memset( &key, 0, sizeof( key )); + memset( &data, 0, sizeof( data )); if ( fgets( line, sizeof(line), stdin ) != NULL ) { int len; diff --git a/servers/slapd/tools/sizecount.c b/servers/slapd/tools/sizecount.c index 74cb7a6b4f..633b952915 100644 --- a/servers/slapd/tools/sizecount.c +++ b/servers/slapd/tools/sizecount.c @@ -94,8 +94,8 @@ main( int argc, char **argv ) Datum key, data; char *w; - memset( &key, 0, sizeof( key )); - memset( &data, 0, sizeof( data )); + memset( &key, 0, sizeof( key )); + memset( &data, 0, sizeof( data )); /* update value count */ vcount++;