diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-23 17:29:04 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-23 17:29:04 +0200 |
commit | 5cddb0533b53f8acfa36a65a4337ff368aa980de (patch) | |
tree | 3843f5d24c817c5ff7f0c60f05025abce80e864a /runtime/msg.h | |
parent | 9cd8a73cb633a1e4e8b4babd0708d5640aa91445 (diff) | |
download | rsyslog-5cddb0533b53f8acfa36a65a4337ff368aa980de.tar.gz rsyslog-5cddb0533b53f8acfa36a65a4337ff368aa980de.tar.bz2 rsyslog-5cddb0533b53f8acfa36a65a4337ff368aa980de.zip |
fix VAR handling in script grammar and code
The $-var designator is now correctly stripped off the varname.
Diffstat (limited to 'runtime/msg.h')
-rw-r--r-- | runtime/msg.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/msg.h b/runtime/msg.h index fd890822..a2392a20 100644 --- a/runtime/msg.h +++ b/runtime/msg.h @@ -217,11 +217,6 @@ rsRetVal jsonFind(struct json_object *jroot, msgPropDescr_t *pProp, struct json_ rsRetVal msgPropDescrFill(msgPropDescr_t *pProp, uchar *name, int nameLen); void msgPropDescrDestruct(msgPropDescr_t *pProp); -static inline rsRetVal -msgUnsetJSON(msg_t *pMsg, uchar *varname) { - return msgDelJSON(pMsg, varname+1); -} - static inline int msgGetProtocolVersion(msg_t *pM) { |