From: Julio Sánchez Fernández Date: Mon, 10 Apr 2000 12:11:20 +0000 (+0000) Subject: Checking uninitialized variables. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3113 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0dbd442090ae321c0e0f47865151a4350e5fe451;p=openldap Checking uninitialized variables. Add addresses optimization to rfc822-ext too. --- diff --git a/clients/mail500/main.c b/clients/mail500/main.c index 38d0521ee3..3fb309bf9f 100644 --- a/clients/mail500/main.c +++ b/clients/mail500/main.c @@ -1082,7 +1082,7 @@ is_my_host( { char **d; - if ( d == NULL ) + if ( myhosts == NULL ) return 0; for ( d = myhosts; *d; d++ ) { if ( !strcasecmp(*d,host) ) { @@ -1100,7 +1100,7 @@ is_my_domain( char **d; char *p; - if ( d == NULL ) + if ( mydomains == NULL ) return 0; p = strchr( address, '@' ); if ( p == NULL) @@ -1230,7 +1230,9 @@ entry_engine( resolved = 1; break; case AS_SYNTAX_RFC822_EXT: - add_to( current_to, current_nto, vals ); + do_addresses( vals, current_to, current_nto, + togroups, ngroups, err, nerr, + USER ); resolved = 1; break; case AS_SYNTAX_NATIVE_MB: