]> andersk Git - moira.git/blobdiff - server/increment.qc
fixed header again - tom
[moira.git] / server / increment.qc
index 8974a7c157dfa70bd0d202a8d02a8539830b0b38..c7b3b720f1d218b23e8d92bf6f7e1e89b0cb284b 100644 (file)
@@ -145,9 +145,9 @@ char **argv;
 ##       where qual
        beforec = 11;
     } else if (!strcmp(table, "quota")) {
-       barg0 = "?";
-       barg1 = argv[1];
-       barg2 = "?";
+       strcpy(barg0, "?");
+       strcpy(barg1, argv[1]);
+       strcpy(barg2, "?");
        sprintf(buffer, "%s and filesys.filsys_id = q.filsys_id", qual);
        qual = buffer;
 ##     range of q is quota
@@ -163,6 +163,7 @@ char **argv;
        beforec = 10;
     } else if (!strcmp(table, "members")) {
        id = (int) argv[0];
+##     retrieve (barg3 = text(list.group)) where list.list_id = id
        name = malloc(0);
        id_to_name(id, "LIST", &name);
        strcpy(barg0, name);
@@ -179,7 +180,7 @@ char **argv;
        }
        strcpy(barg2, name);
        free(name);
-       beforec = 3;
+       beforec = 4;
     } /* else
       com_err(whoami, 0, "unknown table in incremental_before"); */
 ##}
@@ -259,6 +260,7 @@ char **argv;
        afterc = 10;
     } else if (!strcmp(table, "members")) {
        id = (int) argv[0];
+##     retrieve (aarg3 = text(list.group)) where list.list_id = id
        name = malloc(0);
        id_to_name(id, "LIST", &name);
        strcpy(aarg0, name);
@@ -275,7 +277,7 @@ char **argv;
        }
        strcpy(aarg2, name);
        free(name);
-       afterc = 3;
+       afterc = 4;
     } else if (!strcmp(table, "clear")) {
        afterc = 0;
        table = beforetable;
This page took 0.054731 seconds and 4 git commands to generate.