summaryrefslogtreecommitdiffstats
path: root/omusrmsg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-24 14:53:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-24 14:53:23 +0000
commit6d231d5f159703bb13a2505e6de6c820a3ca05bc (patch)
treef3f1782ea0e1c85d7209b81234c40211b0053fc6 /omusrmsg.c
parent5cbb54ed6ad1934875b080286b9933400c817e85 (diff)
downloadrsyslog-6d231d5f159703bb13a2505e6de6c820a3ca05bc.tar.gz
rsyslog-6d231d5f159703bb13a2505e6de6c820a3ca05bc.tar.xz
rsyslog-6d231d5f159703bb13a2505e6de6c820a3ca05bc.zip
removed F_UNUSED and cleaned up action-disabling handling
Diffstat (limited to 'omusrmsg.c')
-rw-r--r--omusrmsg.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/omusrmsg.c b/omusrmsg.c
index ecfc5862..5f743eff 100644
--- a/omusrmsg.c
+++ b/omusrmsg.c
@@ -293,15 +293,9 @@ static rsRetVal parseSelectorAct(uchar **pp, selector_t *f)
if(szTemplateName[0] == '\0')
strcpy(szTemplateName, " StdUsrMsgFmt");
iRet = cflineSetTemplateAndIOV(f, szTemplateName);
- /* Please note that we would need to check if the template
- * was found. If not, f->f_type would be F_UNUSED and we
- * can NOT carry on processing. These checks can be seen
- * on all other selector line code above. However, as we
- * do not have anything else to do here, we do not include
- * this check. Should you add any further processing at
- * this point here, you must first add a check for this
- * condition!
- * rgerhards 2005-07-29
+ /* NOTE: if you intend to do anything else here, be sure to
+ * chck iRet - as we currently have nothing else to do, we do not
+ * care (yet).
*/
}