This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Patch for syslog-ng 1.6.12
- From: "S. Schulz" <teleschu at gmx dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 26 Apr 2007 13:28:17 +0200
- Subject: Patch for syslog-ng 1.6.12
I found a bug in syslog-ng-1.6.12.
If i use the MSGONLY macro the first char of the message is missing.
Here is the patch:
-snip--------------------------------
426,427c426,428
< colon++;
< ofs = (colon - (char *) msg->msg->data);
---
> ofs = (colon - (char *) msg->msg->data) + 2;
> if (ofs > msg->msg->length)
> ofs = msg->msg->length;
-snap--------------------------------
regards
Stefan
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/