~ubuntu-branches/ubuntu/gutsy/syslog-ng/gutsy-security

« back to all changes in this revision

Viewing changes to src/sources.c

  • Committer: Bazaar Package Importer
  • Author(s): Magosányi Árpád (mag)
  • Date: 2004-09-13 17:19:50 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20040913171950-exchl6q68goa4zi4
Tags: 1.6.4-2
* Added patch from Loic Minier to make init script more sane. Closes: #268820
* Added PATH to init script. Closes: #262224
* Only one instance of html documentation. Patch from Loic Minier. Closes: #268685
* Stops only once in prerm. Closes: #268848
* New syslog-ng.conf. Closes: #268686 
* Added Nate Campi's FAQ. Closes: #268998

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 *
20
20
 * Inspired by nsyslog, originally written by Darren Reed.
21
21
 *
22
 
 * $Id: sources.c,v 1.37.4.1 2004/01/13 18:08:02 bazsi Exp $
 
22
 * $Id: sources.c,v 1.37.4.2 2004/03/10 18:43:28 bazsi Exp $
23
23
 *
24
24
 ***************************************************************************/
25
25
 
115
115
                closure->pos = 0;
116
116
                return ST_OK | ST_GOON;
117
117
        }
118
 
        if (!eol && (closure->dgram || closure->pos == closure->max_log_line)) {
 
118
        if (closure->dgram || (!eol && closure->pos == closure->max_log_line)) {
119
119
                /* we don't have a terminating nl nor \0, and our buffer is
120
120
                   full or we are a datagram receiver, when the message is in
121
121
                   its own packet.