/[monit]/monit/monitor.h
ViewVC logotype

Diff of /monit/monitor.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by hauk, Fri Nov 1 09:43:26 2002 UTC revision 1.24 by hauk, Fri Nov 1 09:59:46 2002 UTC
# Line 90  Sigfunc *signal(int signo, Sigfunc * fun Line 90  Sigfunc *signal(int signo, Sigfunc * fun
90    
91  /** ------------------------------------------ Simple Assert Exception macro */  /** ------------------------------------------ Simple Assert Exception macro */
92    
93  #define ASSERT(e) if(e) { error("AssertException: at %s:%d\naborting..\n", \  #define ASSERT(e) if(!(e)) { error("AssertException: at %s:%d\naborting..\n", \
94      __FILE__, __LINE__); abort(); }      __FILE__, __LINE__); abort(); }
95    
96  /* --------------------------------------------------------- Data structures */  /* --------------------------------------------------------- Data structures */

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26