openbsd-ports/net/snort/patches/patch-src_log_text_c

13 lines
471 B
Plaintext

$OpenBSD: patch-src_log_text_c,v 1.2 2009/08/16 13:31:27 rui Exp $
--- src/log_text.c.orig Mon Jan 26 22:49:57 2009
+++ src/log_text.c Wed Apr 8 12:40:36 2009
@@ -62,7 +62,7 @@ extern OptTreeNode *otn_tmp; /* global ptr to curre
void LogTimeStamp(TextLog* log, Packet* p)
{
char timestamp[TIMEBUF_SIZE];
- ts_print((struct timeval*)&p->pkth->ts, timestamp);
+ ts_print((struct timeval32*)&p->pkth->ts, timestamp);
TextLog_Puts(log, timestamp);
}