Add canceling to alerts plugins
authorAndy Spencer <andy753421@gmail.com>
Wed, 23 Jan 2013 06:33:08 +0000 (06:33 +0000)
committerAndy Spencer <andy753421@gmail.com>
Wed, 23 Jan 2013 06:39:26 +0000 (06:39 +0000)
commit211bdae802a0ba904b306efee41c5ed1dc85287e
tree030fac73c99ac88d827f3746382ff41977d929f6
parentcc82e9478bb47cccb085fb2738053b0c5f6b8298
Add canceling to alerts plugins

This helps speed up shutdown if it occurs while loading alert details.
It's not _really_ needed because of the new grits_http_abort function,
but it's still nice to prevent a bunch of extra fetch attempts.

This also fixes some warnings when a download fails.
src/plugins/alert.c
src/plugins/alert.h