]> andersk Git - moira.git/blobdiff - server/qsubs.c
More namespace cleanup.
[moira.git] / server / qsubs.c
index 122f9eb0237732d460dab85eb561eeaf86e9242d..62869c0103abaabfb8dd9814ab1eb40906b4b737 100644 (file)
@@ -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;
This page took 1.689347 seconds and 4 git commands to generate.