Fix recipient (or source) selection in combination with periodic queue run. Bug 3064
[exim.git] / src / src / exim.c
index 4473373b3397d55b10ce8f749c3901af1d6b9c23..c53b98186ba95a297317a4bad85739cc214f8b02 100644 (file)
@@ -3688,7 +3688,7 @@ on the second character (the one after '-'), to save some effort. */
     in all cases provided there are no further characters in this
     argument. */
 
-      alloc_onetime_qrunner();
+      if (!qrunners) alloc_onetime_qrunner();
       qrunners->queue_2stage = f.queue_2stage;
       if (*argrest)
        for (int i = 0; i < nelem(rsopts); i++)