* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <lib-lib/lib-lib.h>
#ifdef HAVE_LIBIDN
#include <idna.h>
#endif
-#include <lib-lib/lib-lib.h>
-
#include "mutt.h"
#include "charset.h"
#include "mutt_idna.h"
#ifndef HAVE_LIBIDN
-int mutt_idna_to_local (const char *in, char **out, int flags)
+int mutt_idna_to_local (const char *in, char **out, int flags __attribute__ ((unused)))
{
*out = m_strdup(in);
return 1;
}
else {
p_realloc(&a->mailbox, m_strlen(user) + m_strlen(tmp) + 2);
- sprintf (a->mailbox, "%s@%s", NONULL (user), NONULL (tmp)); /* __SPRINTF_CHECKED__ */
+ sprintf(a->mailbox, "%s@%s", NONULL (user), NONULL (tmp));
}
p_delete(&domain);
if (mutt_idna_to_local (domain, &tmp, 0) == 0) {
p_realloc(&a->mailbox, m_strlen(user) + m_strlen(tmp) + 2);
- sprintf (a->mailbox, "%s@%s", NONULL (user), NONULL (tmp)); /* __SPRINTF_CHECKED__ */
+ sprintf(a->mailbox, "%s@%s", NONULL (user), NONULL (tmp));
}
p_delete(&domain);
}
p_realloc(&buff, m_strlen(tmp) + m_strlen(user) + 2);
- sprintf (buff, "%s@%s", NONULL (user), NONULL (tmp)); /* __SPRINTF_CHECKED__ */
+ sprintf(buff, "%s@%s", NONULL (user), NONULL (tmp));
p_delete(&tmp);
p_delete(&user);
p_delete(&domain);