diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-05-13 13:02:02 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-05-13 13:02:02 +0000 |
| commit | 346ba1e6812e2f20664909e5efabbfdfc66fe114 (patch) | |
| tree | a7c8057404e1aeccb218fc879e26be390881d35d /include | |
| parent | 9c9e32f9a4e2dcf2420003d94266a678bd83e992 (diff) | |
| download | zabbix-346ba1e6812e2f20664909e5efabbfdfc66fe114.tar.gz zabbix-346ba1e6812e2f20664909e5efabbfdfc66fe114.tar.xz zabbix-346ba1e6812e2f20664909e5efabbfdfc66fe114.zip | |
Minor fix.
git-svn-id: svn://svn.zabbix.com/trunk@769 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
| -rw-r--r-- | include/functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.c b/include/functions.c index 20e20e95..b84dabaa 100644 --- a/include/functions.c +++ b/include/functions.c @@ -870,7 +870,7 @@ void apply_actions(DB_TRIGGER *trigger,int good) } else if(ACTION_SCOPE_HOST==action.scope) { - sprintf(sql,"select * from actions a,triggers t,hosts h,functions f,items i where a.triggerid=t.triggerid and f.triggerid=t.triggerid and i.itemid=f.itemid and h.hostid=i.hostid and a.scope=%d",ACTION_SCOPE_HOSTS); + sprintf(sql,"select * from actions a,triggers t,hosts h,functions f,items i where a.triggerid=t.triggerid and f.triggerid=t.triggerid and i.itemid=f.itemid and h.hostid=i.hostid and a.scope=%d",ACTION_SCOPE_HOST); result2 = DBselect(sql); if(DBnum_rows(result2)==0) { |
