X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f1049604f9c88b9c8470bff8baee72414b724a9a..6fdc3cdb023a8bf4e86e292ba3a748c6e7de788f:/sbr/oauth_prof.c diff --git a/sbr/oauth_prof.c b/sbr/oauth_prof.c index 0d4336d8..5bedadcb 100644 --- a/sbr/oauth_prof.c +++ b/sbr/oauth_prof.c @@ -5,7 +5,8 @@ * complete copyright information. */ -#include +#include "h/mh.h" +#include "context_find.h" #ifdef OAUTH_SUPPORT @@ -18,8 +19,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 +129,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);