From: zacheiss Date: Fri, 29 Aug 2008 16:10:24 +0000 (+0000) Subject: More namespace cleanup. X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/4ae26bf0a2a26b951498d0493d3893dbe2fa2e0f More namespace cleanup. --- diff --git a/server/qsubs.c b/server/qsubs.c index 122f9eb0..62869c01 100644 --- a/server/qsubs.c +++ b/server/qsubs.c @@ -101,7 +101,7 @@ void help_query(struct query *q, int (*action)(int, char *[], void *), char *argv[32]; argcount = q->argc; - if (q->type == UPDATE || q->type == APPEND) + if (q->type == MR_Q_UPDATE || q->type == MR_Q_APPEND) argcount += q->vcnt; switch (argcount) @@ -136,7 +136,7 @@ void help_query(struct query *q, int (*action)(int, char *[], void *), break; } - if (q->type == RETRIEVE) + if (q->type == MR_Q_RETRIEVE) { sprintf(argr, "%s => %s", argv[--argcount], q->fields[q->argc]); argv[argcount++] = argr;