X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f1049604f9c88b9c8470bff8baee72414b724a9a..b54c3cca7632b31faf33e57f35631e9589551e1a:/sbr/oauth_prof.c diff --git a/sbr/oauth_prof.c b/sbr/oauth_prof.c index 0d4336d8..13e5b973 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[] = { @@ -128,7 +131,7 @@ mh_oauth_get_service_info(const char *svc_name, mh_oauth_service_info *svcinfo, } /* Return value must be free(3)'d. */ -const char * +char * mh_oauth_cred_fn(const char *svc) { char *key = mh_oauth_node_name_for_svc("credential-file", svc);