From 67e59acc78565fba006c7fa81f21d9f0e581aa06 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 26 Sep 2011 11:14:49 +0100 Subject: [PATCH] dbus-spam: use random seed as intended --- tools/dbus-spam.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/dbus-spam.c b/tools/dbus-spam.c index c3adc89..9a21b8c 100644 --- a/tools/dbus-spam.c +++ b/tools/dbus-spam.c @@ -280,6 +280,8 @@ dbus_test_tool_spam (int argc, char **argv) } } + srand (seed); + if (payload == NULL) { payload = "hello, world!"; -- 1.7.6.3