projects
/
quagga-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'upstream/1.2.3'
[quagga-debian.git]
/
tests
/
main.c
diff --git
a/tests/main.c
b/tests/main.c
index 5396c7d50fa9725834ffc3cf115b5e4547b797f7..97028e35f9843a4737946e0f3ca8f7f3e8186a4d 100644
(file)
--- a/
tests/main.c
+++ b/
tests/main.c
@@
-106,7
+106,6
@@
main (int argc, char **argv)
int vty_port = 4000;
int daemon_mode = 0;
char *progname;
int vty_port = 4000;
int daemon_mode = 0;
char *progname;
- struct thread thread;
char *config_file = NULL;
/* Set umask before anything for security */
char *config_file = NULL;
/* Set umask before anything for security */
@@
-191,8
+190,7
@@
main (int argc, char **argv)
test_init();
/* Fetch next active thread. */
test_init();
/* Fetch next active thread. */
- while (thread_fetch (master, &thread))
- thread_call (&thread);
+ thread_main (master);
/* Not reached. */
exit (0);
/* Not reached. */
exit (0);