]> andersk Git - moira.git/commitdiff
fix coredump bug in previous fix for quotas
authormar <mar>
Wed, 13 Jun 1990 12:43:40 +0000 (12:43 +0000)
committermar <mar>
Wed, 13 Jun 1990 12:43:40 +0000 (12:43 +0000)
server/increment.qc

index 8974a7c157dfa70bd0d202a8d02a8539830b0b38..27c2515aa558795b08262ff23e3eb3db0aa9f4fd 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
This page took 0.12946 seconds and 5 git commands to generate.