On Tue, 2008-09-02 at 16:40 +0200, Hannes Gredler wrote:
> On Tue, Sep 02, 2008 at 04:10:57PM +0200, Bernd Petrovitsch wrote:
[...]
> | Hmm, one should review all the times(2) calls though ....
> 
> does not appear to be that bad ...
> 
> hannes@texas:~/dev/olsrd$ grep -R "times(" *
> src/main.c:  now_times = times(&tms_buf);
> src/scheduler.c:    now_times = times(&tms_buf);
> src/scheduler.c:    olsr_scheduler_sleep(times(&tms_buf) - now_times);
> src/socket_parser.c:  now_times = times(&tms_buf);

ACK.
Unless the uses of tms_buf or olsr_scheduler_sleep() are somewhat
strange .....

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




