diff options
author | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-09 13:50:55 +0000 |
---|---|---|
committer | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-09 13:50:55 +0000 |
commit | a2910f39f78a8c361abef8779746b5dab31a2ac8 (patch) | |
tree | 50a6116faf318f00772dc76e69b60387551924a3 /lib | |
parent | 641b84d72ffed6dfce70336c262eb3e305605587 (diff) | |
download | quagga-a2910f39f78a8c361abef8779746b5dab31a2ac8.tar.bz2 quagga-a2910f39f78a8c361abef8779746b5dab31a2ac8.tar.xz |
Changed timeout handling in qpn_start -- lib/qpnexus.c
Diffstat (limited to 'lib')
-rw-r--r-- | lib/qpnexus.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/qpnexus.c b/lib/qpnexus.c index 8b2e9332..861f7eee 100644 --- a/lib/qpnexus.c +++ b/lib/qpnexus.c @@ -98,9 +98,8 @@ qpn_start(void* arg) } /* block for some input, output or timeout */ - actions = qps_pselect(qpn->selection, - qtimer_pile_top_time(qpn->pile, - qtimer_time_future(now + QTIME(MAX_PSELECT_TIMOUT)))); + actions = qps_pselect( qpn->selection, + qtimer_pile_top_time(qpn->pile, now + QTIME(MAX_PSELECT_TIMOUT)) ); if (actions < 0) { zabort_errno("qps_pselect failed"); |