X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b080f5bec1263d354ca4943e2bc9670cb1e9cfa7..418ee17e8bd250785855ca3f3f1ff0e19331d498:/sbr/oauth_prof.c diff --git a/sbr/oauth_prof.c b/sbr/oauth_prof.c index 51a5f7ac..db9c5cda 100644 --- a/sbr/oauth_prof.c +++ b/sbr/oauth_prof.c @@ -5,7 +5,10 @@ * complete copyright information. */ -#include +#include "h/mh.h" +#include "concat.h" +#include "getcpy.h" +#include "context_find.h" #ifdef OAUTH_SUPPORT @@ -18,8 +21,8 @@ #include #include -#include -#include +#include "h/oauth.h" +#include "h/utils.h" #include "m_maildir.h" static const struct mh_oauth_service_info SERVICES[] = { @@ -83,7 +86,7 @@ update_svc(mh_oauth_service_info *svc, const char *svc_name, char *errbuf, #define update(name) \ update_svc_field(&svc->name, #name, svc_name); \ if (svc->name == NULL) { \ - snprintf(errbuf, errbuflen, "%s", #name " is missing"); \ + snprintf(errbuf, errbuflen, "%s", #name " is missing"); \ errbuf[errbuflen - 1] = '\0'; \ return false; \ }