/* check to make sure that a matching hook doesn't already exist */
for (ptr = Hooks; ptr; ptr = ptr->next) {
- if (ptr->type == data &&
+ if (ptr->type == (int)data &&
ptr->rx.not == not && !m_strcmp(pattern.data, ptr->rx.pattern)) {
if (data &
(M_FOLDERHOOK | M_SENDHOOK | M_SEND2HOOK | M_MESSAGEHOOK |
return -1;
}
-void mutt_default_save (char *path, ssize_t pathlen, const HEADER * hdr)
+void mutt_default_save (char *path, ssize_t pathlen, HEADER * hdr)
{
*path = 0;
if (mutt_addr_hook (path, pathlen, M_SAVEHOOK, Context, hdr) != 0) {
string_list_t *** pp, string_list_t *** qq);
int mutt_bounce_message (FILE * fp, HEADER *, address_t *);
void mutt_check_rescore (CONTEXT *);
-void mutt_default_save (char *, ssize_t, const HEADER *);
+void mutt_default_save (char *, ssize_t, HEADER *);
void mutt_display_address (ENVELOPE *);
void mutt_edit_content_type (HEADER *, BODY *, FILE *);
void mutt_edit_headers (const char *, const char *, HEADER *, char *, ssize_t);