mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-25 09:13:26 +00:00
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
This commit is contained in:
parent
352a5b4de4
commit
c38ad9061f
10
exec/evt.c
10
exec/evt.c
@ -171,12 +171,6 @@ static DECLARE_LIST_INIT(ci_head);
|
||||
|
||||
#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
|
||||
* 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
|
||||
@ -2108,7 +2102,7 @@ static int evt_exec_init(void)
|
||||
dropped_event = malloc(dropped_event_size);
|
||||
if (dropped_event == 0) {
|
||||
log_printf(LOG_LEVEL_ERROR,
|
||||
"Memory Allocation Failure, event service not started\n");
|
||||
"Memory Allocation Failure, event service not started\n");
|
||||
errno = ENOMEM;
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user