Ignore:
Timestamp:
Jul 18, 2015, 5:06:52 PM (9 years ago)
Author:
katerina
Message:

Enhancements and fixes for tickets #374, #375, #376, #377, #378, and #379.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_schedule.c

    r454 r481  
    5555#include "samhain.h"
    5656#include "sh_mem.h"
     57#include "sh_error_min.h"
    5758
    5859/* TESTONLY */
     
    143144  tval = localtime(&now);
    144145#endif
     146
     147  if (!tval)
     148    {
     149      sh_error_handle ((-1), FIL__, __LINE__, errno, MSG_E_SUBGEN,
     150                       _("localime() failed"), _("test_sched_int") );
     151      return 0;
     152    }
     153
    145154  count = 0;
    146155  for (i = 0; i < 5; ++i)
Note: See TracChangeset for help on using the changeset viewer.