aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2021-05-18 15:32:45 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2021-05-18 15:32:45 +0200
commitd80e03718c12031dd415d38b7d50379d2c4ddc7f (patch)
treebab773117aa3fcd0951ebc6dc823ac99228022d6
parent95a667df36f595d7bde3d3cb80b85ece78872af5 (diff)
downloadpsmq-d80e03718c12031dd415d38b7d50379d2c4ddc7f.tar.gz
psmq-d80e03718c12031dd415d38b7d50379d2c4ddc7f.tar.bz2
psmq-d80e03718c12031dd415d38b7d50379d2c4ddc7f.zip
Revert "tst/psmqd-startup.c: fix invalid NULL in argv"
This reverts commit 95a667df36f595d7bde3d3cb80b85ece78872af5. Yea... that NULL was overwritten with good pointer later.
-rw-r--r--tst/psmqd-startup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tst/psmqd-startup.c b/tst/psmqd-startup.c
index 433c9e3..dea06ee 100644
--- a/tst/psmqd-startup.c
+++ b/tst/psmqd-startup.c
@@ -127,7 +127,7 @@ static int psmqt_run_default(void)
time_t start; /* starting point of waiting for confirmation */
struct main_args *args; /* allocated args to create psmqd_main() with */
struct timespec tp; /* time to sleep between psmqd_main() run check*/
- const char *argv[] = { "psmqd", "-b", "-l6", "-p./psmqd.log",
+ const char *argv[] = { "psmqd", "-b", NULL, "-l6", "-p./psmqd.log",
"-m10", NULL };
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/