char **val;
char last;
- memset( &data, 0 , sizeof( data ));
+ memset( &data, 0 , sizeof( data ));
if ( verbose ) {
printf( "Generating new centroids for..." );
/* 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++ ) {
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 ||
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 ||
#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" )
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;
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;
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;
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;
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++;