]> andersk Git - moira.git/commitdiff
fixed logic determining which lists of member to display
authormar <mar>
Tue, 22 Nov 1988 12:25:22 +0000 (12:25 +0000)
committermar <mar>
Tue, 22 Nov 1988 12:25:22 +0000 (12:25 +0000)
clients/moira/lists.c

index a3f25c4fb136774845dd59aa97377b45a9e91f56..e4b60c0fed66af90c2b3708b47a952f0a5ff46fc 100644 (file)
@@ -732,8 +732,8 @@ ListByMember()
 
     while (elem != NULL) {
        info = (char**) elem->q_data;
-       if (maillist != TRUE || !strcmp(info[GLOM_MAILLIST], "1")) 
-           if (group != TRUE || !strcmp(info[GLOM_GROUP], "1")) 
+       if ((maillist == TRUE && !strcmp(info[GLOM_MAILLIST], "1")) ||
+           (group == TRUE && !strcmp(info[GLOM_GROUP], "1")))
                Put_message(info[GLOM_NAME]);
        elem = elem->q_forw;
     }
This page took 0.074141 seconds and 5 git commands to generate.