~ubuntu-branches/ubuntu/karmic/rsyslog/karmic

« back to all changes in this revision

Viewing changes to plugins/immark/immark.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2009-04-08 00:59:14 UTC
  • mfrom: (1.1.9 upstream) (3.2.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090408005914-gfyay7o45szt05zl
Tags: 3.20.5-1
* New upstream release.
* debian/rsyslog.logcheck.ignore.server
  - Install a logcheck ignore file for rsyslog (using dh_installlogcheck).
    Thanks to Kim Holviala for the patch. Closes: #522164

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include <signal.h>
38
38
#include <string.h>
39
39
#include <pthread.h>
40
 
#include "syslogd.h"
 
40
#include "dirty.h"
41
41
#include "cfsysline.h"
42
42
#include "module-template.h"
 
43
#include "errmsg.h"
43
44
 
44
45
MODULE_TYPE_INPUT
45
46
 
75
76
                 * rgerhards, 2007-12-17
76
77
                 */
77
78
                CHKiRet(thrdSleep(pThrd, iMarkMessagePeriod, 0)); /* seconds, micro seconds */
78
 
                logmsgInternal(LOG_INFO, "-- MARK --", ADDDATE|MARK);
 
79
                logmsgInternal(NO_ERRCODE, LOG_INFO, (uchar*)"-- MARK --", ADDDATE|MARK);
79
80
        }
80
81
finalize_it:
81
82
        return iRet;