static int isgroup( LDAPMessage *e );
static void add_error( Error **err, int *nerr, int code, char *addr, LDAPMessage *msg );
static void unbind_and_exit( int rc ) LDAP_GCCATTR((noreturn));
-static void send_group( Group *group, int ngroup );
+static void send_group( Group **group, int ngroup );
static int connect_to_x500( void );
syslog( LOG_ALERT, "sending to groups with errorsto" );
}
(void) rewind( stdin );
- send_group( *togroups, ngroups );
+ send_group( togroups, ngroups );
}
/* send to expanded aliases and groups w/o errorsTo */
}
static void
-send_group( Group *group, int ngroup )
+send_group( Group **group, int ngroup )
{
int i, pid;
char **argv;
iargv[0] = MAIL500_SENDMAIL;
iargv[1] = "-f";
- iargv[2] = group[i].g_errorsto;
+ iargv[2] = group[i]->g_errorsto;
iargv[3] = "-oMrX.500";
iargv[4] = "-odi";
iargv[5] = "-oi";
argv = NULL;
argc = 0;
add_to( &argv, &argc, iargv );
- add_to( &argv, &argc, group[i].g_members );
+ add_to( &argv, &argc, group[i]->g_members );
if ( debug ) {
char buf[1024];