*
* This code is Copyright (c) 2014, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
*
* This code is Copyright (c) 2014, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
#define MHLOGIN_SWITCHES \
X("user username", 0, USERSW) \
#define MHLOGIN_SWITCHES \
X("user username", 0, USERSW) \
static char line[BUFSIZ];
if (fgets(line, sizeof(line), stdin) == NULL)
done (1);
static char line[BUFSIZ];
if (fgets(line, sizeof(line), stdin) == NULL)
done (1);
- advise(NULL, "error exchanging code for OAuth2 token");
- adios(NULL, mh_oauth_get_err_string(ctx));
+ inform("error exchanging code for OAuth2 token");
+ adios(NULL, "%s", mh_oauth_get_err_string(ctx));