Blame SOURCES/net-snmp-5.9-coverity.patch

962144
diff --git a/agent/mibgroup/disman/event/mteTrigger.c b/agent/mibgroup/disman/event/mteTrigger.c
962144
index e9a8831..5a1d8e7 100644
962144
--- a/agent/mibgroup/disman/event/mteTrigger.c
962144
+++ b/agent/mibgroup/disman/event/mteTrigger.c
962144
@@ -1012,7 +1012,7 @@ mteTrigger_run( unsigned int reg, void *clientarg)
962144
                      * Similarly, if no fallEvent is configured,
962144
                      *  there's no point in trying to fire it either.
962144
                      */
962144
-                    if (entry->mteTThRiseEvent[0] != '\0' ) {
962144
+                    if (entry->mteTThFallEvent[0] != '\0' ) {
962144
                         entry->mteTriggerXOwner   = entry->mteTThObjOwner;
962144
                         entry->mteTriggerXObjects = entry->mteTThObjects;
962144
                         entry->mteTriggerFired    = vp1;
962144
@@ -1105,7 +1105,7 @@ mteTrigger_run( unsigned int reg, void *clientarg)
962144
                      * Similarly, if no fallEvent is configured,
962144
                      *  there's no point in trying to fire it either.
962144
                      */
962144
-                    if (entry->mteTThDRiseEvent[0] != '\0' ) {
962144
+                    if (entry->mteTThDFallEvent[0] != '\0' ) {
962144
                         entry->mteTriggerXOwner   = entry->mteTThObjOwner;
962144
                         entry->mteTriggerXObjects = entry->mteTThObjects;
962144
                         entry->mteTriggerFired    = vp1;