]> andersk Git - moira.git/commitdiff
don't call the callback if it's NULL...
authordanw <danw>
Thu, 19 Feb 1998 21:22:25 +0000 (21:22 +0000)
committerdanw <danw>
Thu, 19 Feb 1998 21:22:25 +0000 (21:22 +0000)
lib/mr_query.c

index 820c9108a51d9daf70631a899aff83141acf9558..798fbfb8824f898c0cc9a5bfbdcee092f76577a3 100644 (file)
@@ -51,7 +51,7 @@ int mr_query(char *name, int argc, char **argv,
 
   while ((status = reply.u.mr_status) == MR_MORE_DATA)
     {
-      if (!stopcallbacks)
+      if (callproc && !stopcallbacks)
        stopcallbacks = (*callproc)(reply.mr_argc, reply.mr_argv, callarg);
       mr_destroy_reply(reply);
 
This page took 0.132021 seconds and 5 git commands to generate.