projects
/
quagga-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New upstream version 1.2.4
[quagga-debian.git]
/
pimd
/
pim_main.c
diff --git
a/pimd/pim_main.c
b/pimd/pim_main.c
index ea70a8fcf4226d996c6ad577b51db9cb6112eb45..5642e36eb589df4c603f2a19bbebdc54e84022d0 100644
(file)
--- a/
pimd/pim_main.c
+++ b/
pimd/pim_main.c
@@
-129,7
+129,6
@@
int main(int argc, char** argv, char** envp) {
int daemon_mode = 0;
char *config_file = NULL;
char *zebra_sock_path = NULL;
int daemon_mode = 0;
char *config_file = NULL;
char *zebra_sock_path = NULL;
- struct thread thread;
umask(0027);
umask(0027);
@@
-273,8
+272,7
@@
int main(int argc, char** argv, char** envp) {
zlog_notice("!HAVE_CLOCK_MONOTONIC");
#endif
zlog_notice("!HAVE_CLOCK_MONOTONIC");
#endif
- while (thread_fetch(master, &thread))
- thread_call(&thread);
+ thread_main (master);
zlog_err("%s %s: thread_fetch() returned NULL, exiting",
__FILE__, __PRETTY_FUNCTION__);
zlog_err("%s %s: thread_fetch() returned NULL, exiting",
__FILE__, __PRETTY_FUNCTION__);