]> andersk Git - moira.git/commitdiff
Fix bugs that crept into list_queries when it was updated to deal with
authordanw <danw>
Tue, 11 Jan 2000 19:46:03 +0000 (19:46 +0000)
committerdanw <danw>
Tue, 11 Jan 2000 19:46:03 +0000 (19:46 +0000)
versioning.
(the part of the patch I failed to commit last night...)

server/qrtn.pc
server/query.h

index 83ceac6f1e461e00405e08c72bbe11762a8f17b0..cb9a41fb2a24b06cf9d815f91fd06bce9824c948 100644 (file)
@@ -164,7 +164,7 @@ int mr_process_query(client *cl, char *name, int argc, char *argv_ro[],
   /* list queries command */
   if (!strcmp(name, "_list_queries"))
     {
-      list_queries(action, actarg);
+      list_queries(cl, action, actarg);
       return MR_SUCCESS;
     }
 
index 097d7f5e4f3f725381c29263759725358ef24874..1f060d6d2fede1ce5c485d966d5e991b3eb62d47 100644 (file)
@@ -86,7 +86,7 @@ int check_query_access(struct query *q, char *argv[], client *cl);
 int set_next_object_id(char *objectx, enum tables table, int limit);
 
 /* prototypes from qsubs.c */
-void list_queries(int (*action)(int, char *[], void *),
+void list_queries(client *cl, int (*action)(int, char *[], void *),
                  void *actarg);
 void help_query(struct query *q, int (*action)(int, char *[], void *),
                void *actarg);
This page took 0.039967 seconds and 5 git commands to generate.