projects
/
platform
/
upstream
/
avahi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fdbded
)
fix random seed initialization
author
Lennart Poettering
<lennart@poettering.net>
Wed, 30 Aug 2006 14:05:14 +0000
(14:05 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 30 Aug 2006 14:05:14 +0000
(14:05 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1284
941a03a8
-eaeb-0310-b9a0-
b1bbd8fe43fe
avahi-daemon/main.c
patch
|
blob
|
history
diff --git
a/avahi-daemon/main.c
b/avahi-daemon/main.c
index
096d0aa
..
ca9c034
100644
(file)
--- 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);
}