]> andersk Git - moira.git/blobdiff - gen/aliases.qc
Added missing definition of $(SRCDIR)
[moira.git] / gen / aliases.qc
index a10858745a5716a1e0b8f4a284673635de959f7d..1b50e534b3c22f038737c328b75d0bfd55d4b101 100644 (file)
@@ -110,7 +110,6 @@ char **argv;
 static int ingerr(num)
     int *num;
 {
-    char buf[256];
     int ingres_errno;
 
     switch (*num) {
@@ -270,29 +269,27 @@ int force;
        return;
     }
     l->maillist = 2;
-    output_mlist(id, l, out);
+    output_mlist(id, l);
 
     if (l->acl_t == 'L' && (l1 = (struct list *)hash_lookup(lists, l->acl_id)))
       save_mlist(0, l1, 1);
     
     for (m = l->m; m; m = m->next) {
        if (m->list_id && (l1 = (struct list *)hash_lookup(lists, m->list_id)))
-         save_mlist(0, l1, 0);
+         save_mlist(0, l1, 1);
     }
 }
 
 
 int lwid, bol, awid;
 
-output_mlist(id, l, dummy)
+output_mlist(id, l)
 int id;
 register struct list *l;
-int dummy;
 {
     struct list *l1;
     register struct member *m;
     struct user *u;
-    int id;
 
     put_fill(out, l->description);
     if (l->acl_t ==  'L') {
@@ -380,9 +377,6 @@ FILE *out;
 do_poboxes(out)
 FILE *out;
 {
-    register char *p;
-    char *index();
-
     fprintf(out, "\n%s\n# User Poboxes\n%s\n", divide, divide);
 
     hash_step(users, do_pobox, out);
This page took 0.041541 seconds and 4 git commands to generate.