From: genoa Date: Tue, 4 Aug 1992 20:12:28 +0000 (+0000) Subject: After synchronizing with opssrc as it was on 8/4/92. X-Git-Tag: release77~456 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/bc5e9d66e0c465c98cadadbf74133e77cf5782ad After synchronizing with opssrc as it was on 8/4/92. --- diff --git a/server/increment.dc b/server/increment.dc index a44ea882..3e121fe3 100644 --- a/server/increment.dc +++ b/server/increment.dc @@ -155,6 +155,17 @@ char **argv; INTO :barg0, :barg1, :barg2, :barg3, :barg4, :barg5, :barg6, :barg7, :barg8, :barg9, :barg10 FROM filesys WHERE :qual; + name = malloc(0); + id = atoi(barg2); + id_to_name(id, "MACHINE", &name); + strcpy(barg2, name); + id = atoi(barg7); + id_to_name(id, "USER", &name); + strcpy(barg7, name); + id = atoi(barg8); + id_to_name(id, "LIST", &name); + strcpy(barg8, name); + free(name); beforec = 11; } else if (!strcmp(table, "quota")) { strcpy(barg0, "?"); @@ -256,6 +267,17 @@ EXEC SQL END DECLARE SECTION; INTO :aarg0, :aarg1, :aarg2, :aarg3, :aarg4, :aarg5, :aarg6, :aarg7, :aarg8, :aarg9, :aarg10 FROM filesys fs WHERE :qual; + name = malloc(0); + id = atoi(aarg2); + id_to_name(id, "MACHINE", &name); + strcpy(aarg2, name); + id = atoi(aarg7); + id_to_name(id, "USER", &name); + strcpy(aarg7, name); + id = atoi(aarg8); + id_to_name(id, "LIST", &name); + strcpy(aarg8, name); + free(name); afterc = 11; } else if (!strcmp(table, "quota")) { strcpy(aarg0, "?");