Index: src/scheduler.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/scheduler.c,v
retrieving revision 1.30
diff -C5 -r1.30 scheduler.c
*** src/scheduler.c	29 Mar 2005 19:07:19 -0000	1.30
--- src/scheduler.c	28 Oct 2005 17:43:58 -0000
***************
*** 111,123 ****
    /* Main scheduler event loop */
    for(;;)
      {
  
        /* Update now_times */
!       if((now_times = times(&tms_buf)) < 0)
  	{
! 	  if((now_times = times(&tms_buf)) < 0)
  	    {
  	      fprintf(stderr, "Fatal!scheduler could not get new_times.\n%s\n", strerror(errno));
  	      olsr_syslog(OLSR_LOG_ERR, "Fatal!scheduler could not get new_times.\n%m\n");
  	      olsr_exit(__func__, EXIT_FAILURE);
  	    }
--- 111,123 ----
    /* Main scheduler event loop */
    for(;;)
      {
  
        /* Update now_times */
!       if((now_times = times(&tms_buf)) == -1)
  	{
! 	  if((now_times = times(&tms_buf)) == -1)
  	    {
  	      fprintf(stderr, "Fatal!scheduler could not get new_times.\n%s\n", strerror(errno));
  	      olsr_syslog(OLSR_LOG_ERR, "Fatal!scheduler could not get new_times.\n%m\n");
  	      olsr_exit(__func__, EXIT_FAILURE);
  	    }
