Patch for syslog-ng 1.6.12
S. Schulz
teleschu@gmx.net
Thu Apr 26 11:28:00 GMT 2007
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/
More information about the Cygwin
mailing list