-
- else
- {
- /* Adding first node */
- eventnode = (EventNode *)calloc(1,sizeof(EventNode));
- if(eventnode == NULL)
- {
- ErrorExit(MEM_ERROR,ARGV0);
+
+ else {
+ /* Add first node */
+ eventnode = (EventNode *)calloc(1, sizeof(EventNode));
+ if (eventnode == NULL) {
+ ErrorExit(MEM_ERROR, ARGV0, errno, strerror(errno));