From 0dbd442090ae321c0e0f47865151a4350e5fe451 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julio=20S=C3=A1nchez=20Fern=C3=A1ndez?= Date: Mon, 10 Apr 2000 12:11:20 +0000 Subject: [PATCH] Checking uninitialized variables. Add addresses optimization to rfc822-ext too. --- clients/mail500/main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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: -- 2.39.5