- hash_step(lists, save_mlist, sq);
-
- while (sq_get_data(sq, &id)) {
- l = (struct list *) hash_lookup(lists, id);
- if (l->m && /* there's at least one member */
- l->m->next == NULL && /* there's only one member */
- !strcmp(l->name, l->m->name)) /* the member is same as list */
- continue;
- put_fill(out, l->description);
- if (l->acl_t == 'L') {
- if (l1 = (struct list *) hash_lookup(lists, l->acl_id)) {
- fprintf(out, "owner-%s: %s\n", l->name, l1->name);
- sq_save_unique_data(sq, l->acl_id);
- }
- } else if (l->acl_t == 'U') {
- if (u = (struct user *) hash_lookup(users, l->acl_id))
- fprintf(out, "owner-%s: %s\n", l->name, u->login);
- }
- fprintf(out, "%s: ", l->name);
- lwid = strlen(l->name) + 2;
- bol = 1;
- for (m = l->m; m; m = m->next) {
- if (m->list_id != 0)
- sq_save_unique_data(sq, m->list_id);
- do_member(out, m->name);
- }
- fprintf(out, "\n\n");
+ put_fill(out, l->description);
+ if (l->acl_t == 'L') {
+ if (l1 = (struct list *) hash_lookup(lists, l->acl_id))
+ fprintf(out, "owner-%s: %s\n", l->name, l1->name);
+ } else if (l->acl_t == 'U') {
+ if (u = (struct user *) hash_lookup(users, l->acl_id))
+ fprintf(out, "owner-%s: %s\n", l->name, u->login);