diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-10 15:59:53 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-10 15:59:53 +0200 |
commit | 262f61d869b95f63b393ae48d683b13e70322478 (patch) | |
tree | 8f8a5346df5bd50af7c4b0b71347481287ea0921 /runtime/obj.c | |
parent | 1d97cb00bdb349e3d7b275607f3d31a61abdf02e (diff) | |
download | rsyslog-262f61d869b95f63b393ae48d683b13e70322478.tar.gz rsyslog-262f61d869b95f63b393ae48d683b13e70322478.tar.bz2 rsyslog-262f61d869b95f63b393ae48d683b13e70322478.zip |
added properties "inputname" and "$myhostname"
- added message property "inputname", which contains the name of the
input (module) that generated it. Presence is depending on suport in
each input module (else it is blank).
- added system property "$myhostname", which contains the name of the
local host as it knows itself.
Diffstat (limited to 'runtime/obj.c')
-rw-r--r-- | runtime/obj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/obj.c b/runtime/obj.c index 082aa691..2a9df9ed 100644 --- a/runtime/obj.c +++ b/runtime/obj.c @@ -780,7 +780,7 @@ Deserialize(void *ppObj, uchar *pszTypeExpected, strm_t *pStrm, rsRetVal (*fFixu DEFiRet; rsRetVal iRetLocal; obj_t *pObj = NULL; - int oVers = 0; /* after all, it is totally useless but takes up some execution time... */ + int oVers = 0; /* keep compiler happy, but it is totally useless but takes up some execution time... */ cstr_t *pstrID = NULL; objInfo_t *pObjInfo; |