}
FREE (&pattern.data);
- memset (&pattern, 0, sizeof (pattern));
+ mutt_buffer_init(&pattern);
pattern.data = safe_strdup (path);
}
#ifdef USE_COMPRESSED
strfcpy (tmp, pattern.data, sizeof (tmp));
mutt_check_simple (tmp, sizeof (tmp), DefaultHook);
FREE (&pattern.data);
- memset (&pattern, 0, sizeof (pattern));
+ mutt_buffer_init(&pattern);
pattern.data = safe_strdup (tmp);
}
strfcpy (path, command.data, sizeof (path));
mutt_expand_path (path, sizeof (path));
FREE (&command.data);
- memset (&command, 0, sizeof (command));
+ mutt_buffer_init(&command);
command.data = safe_strdup (path);
}
err.data = buf;
err.dsize = sizeof (buf);
- memset (&token, 0, sizeof (token));
+ mutt_buffer_init(&token);
for (hook = Hooks; hook; hook = hook->next)
{
err.data = buf;
err.dsize = sizeof (buf);
- memset (&token, 0, sizeof (token));
+ mutt_buffer_init(&token);
for (hook = Hooks; hook; hook = hook->next)
{