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.3
[quagga-debian.git]
/
tests
/
common-cli.c
diff --git
a/tests/common-cli.c
b/tests/common-cli.c
index 7135856e9907d6432c90688c35f829dfb066bd37..3486c3729fce3d725f9f4046b6a71850c1d02a0a 100644
(file)
--- a/
tests/common-cli.c
+++ b/
tests/common-cli.c
@@
-55,8
+55,6
@@
static void vty_do_exit(void)
int
main (int argc, char **argv)
{
int
main (int argc, char **argv)
{
- struct thread thread;
-
/* Set umask before anything for security */
umask (0027);
/* Set umask before anything for security */
umask (0027);
@@
-81,8
+79,7
@@
main (int argc, char **argv)
vty_stdio (vty_do_exit);
/* Fetch next active thread. */
vty_stdio (vty_do_exit);
/* Fetch next active thread. */
- while (thread_fetch (master, &thread))
- thread_call (&thread);
+ thread_main (master);
/* Not reached. */
exit (0);
/* Not reached. */
exit (0);