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