summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--avahi-daemon/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c
index 096d0aa..ca9c034 100644
--- a/avahi-daemon/main.c
+++ b/avahi-daemon/main.c
@@ -1023,7 +1023,7 @@ static void init_rand_seed(void) {
}
/* If the initialization failed by some reason, we add the time to the seed*/
- seed |= (unsigned) time(NULL);
+ seed ^= (unsigned) time(NULL);
srand(seed);
}