This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]