0a1d445
diff -urp audit-1.6.2.orig/lib/lookup_table.c audit-1.6.2/lib/lookup_table.c
0a1d445
--- audit-1.6.2.orig/lib/lookup_table.c	2007-10-05 10:30:25.000000000 -0400
0a1d445
+++ audit-1.6.2/lib/lookup_table.c	2007-10-05 10:32:01.000000000 -0400
0a1d445
@@ -483,7 +483,7 @@ int audit_name_to_msg_type(const char *m
0a1d445
 		strncpy(buf, msg_type + 8, len);
0a1d445
 		errno = 0;
0a1d445
 		return strtol(buf, NULL, 10);
0a1d445
-	} else if (isdigit(msg_type)) {
0a1d445
+	} else if (isdigit(*msg_type)) {
0a1d445
 		errno = 0;
0a1d445
 		return strtol(msg_type, NULL, 10);
0a1d445
 	}
0a1d445
diff -urp audit-1.6.2.orig/src/auditd.c audit-1.6.2/src/auditd.c
0a1d445
--- audit-1.6.2.orig/src/auditd.c	2007-10-05 10:31:35.000000000 -0400
0a1d445
+++ audit-1.6.2/src/auditd.c	2007-10-05 10:30:04.000000000 -0400
0a1d445
@@ -135,8 +135,8 @@ static void distribute_event(struct audi
eadd98d
 	}
eadd98d
 
eadd98d
 	/* Last chance to send...maybe the pipe is empty now. */
eadd98d
-	if (attempt)
eadd98d
-		dispatch_event(&rep->reply, attempt);
eadd98d
+//	if (attempt) 
eadd98d
+//		dispatch_event(&rep->reply, attempt);
eadd98d
 }
eadd98d
 
eadd98d
 /*