Commits
Andrea Biscuola authored 2611e059026
........S. [ZBXNEXT-4108] added 'error' argument to add_event() The add_event() function will use a new 'error' argument for storing error messages for internal events. In all the places where the function is called, pass a proper string if it is an internal trigger or item event or NULL for everything else. To note that, as per spec, internal recovery event will not store a value in the name field. the new field is marked as unused for the moment until next diffs will introduce the complete processing.