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]
/
ospfclient
/
ospfclient.c
diff --git
a/ospfclient/ospfclient.c
b/ospfclient/ospfclient.c
index 1de7644f6a3b391d0c522b405a249d6d9df129c0..324e539ddbb2d99f37e6c2d9e523ae4b380e6edf 100644
(file)
--- a/
ospfclient/ospfclient.c
+++ b/
ospfclient/ospfclient.c
@@
-284,8
+284,6
@@
static int usage()
int
main (int argc, char *argv[])
{
int
main (int argc, char *argv[])
{
- struct thread thread;
-
args = argv;
/* ospfclient should be started with the following arguments:
args = argv;
/* ospfclient should be started with the following arguments:
@@
-340,11
+338,7
@@
main (int argc, char *argv[])
thread_add_read (master, lsa_read, oclient, oclient->fd_async);
/* Now connection is established, run loop */
thread_add_read (master, lsa_read, oclient, oclient->fd_async);
/* Now connection is established, run loop */
- while (1)
- {
- thread_fetch (master, &thread);
- thread_call (&thread);
- }
+ thread_main (master);
/* Never reached */
return 0;
/* Never reached */
return 0;