Browse Source

Clean up some comments code. (comments, old macro).

(Logical change 1.64)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@234 fd59a12c-fef9-0310-b244-a6a79926bd2f
Mark Haverkamp 21 years ago
parent
commit
c38ad9061f
1 changed files with 2 additions and 8 deletions
  1. 2 8
      exec/evt.c

+ 2 - 8
exec/evt.c

@@ -171,12 +171,6 @@ static DECLARE_LIST_INIT(ci_head);
 
 
 #define min(a,b) ((a) < (b) ? (a) : (b))
 #define min(a,b) ((a) < (b) ? (a) : (b))
 
 
-#define ipaddr(a) \
-	((a) & 0xff), \
-	(((a) >> 8) & 0xff), \
-	(((a) >> 16) & 0xff),  \
-	(((a) >> 24) & 0xff)
-
 /*
 /*
  * Throttle event delivery to applications to keep
  * Throttle event delivery to applications to keep
  * the exec from using too much memory if the app is 
  * the exec from using too much memory if the app is 
@@ -799,7 +793,7 @@ free_event_data(struct event_data *edp)
 }
 }
 
 
 /*
 /*
- * Check for expired events. Then re-arm the timer.
+ * Timer handler to delete expired events.
  *
  *
  */
  */
 static void
 static void
@@ -2108,7 +2102,7 @@ static int evt_exec_init(void)
 	dropped_event = malloc(dropped_event_size);
 	dropped_event = malloc(dropped_event_size);
 	if (dropped_event == 0) {
 	if (dropped_event == 0) {
 		log_printf(LOG_LEVEL_ERROR, 
 		log_printf(LOG_LEVEL_ERROR, 
-						"Memory Allocation Failure, event service not started\n");
+					"Memory Allocation Failure, event service not started\n");
 		errno = ENOMEM;
 		errno = ENOMEM;
 		return -1;
 		return -1;
 	}
 	}