X-Spam-Check-By: sourceware.org Content-Type: text/plain; charset="us-ascii" Date: Thu, 26 Apr 2007 13:28:17 +0200 From: "S. Schulz" Message-ID: <20070426112817.301360@gmx.net> MIME-Version: 1.0 Subject: Patch for syslog-ng 1.6.12 To: cygwin AT cygwin DOT com X-Authenticated: #31247417 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) Content-Transfer-Encoding: 7bit X-GMX-UID: tP1ZKcpNMydhdm6ZtmtlfrpjaGRhZprW Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/