]> andersk Git - moira.git/commitdiff
More namespace cleanup.
authorzacheiss <zacheiss>
Fri, 29 Aug 2008 16:10:24 +0000 (16:10 +0000)
committerzacheiss <zacheiss>
Fri, 29 Aug 2008 16:10:24 +0000 (16:10 +0000)
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 0.055845 seconds and 5 git commands to generate.