-/*
- * mhlogin.c -- login to external (OAuth) services
+/* mhlogin.c -- login to external (OAuth) services
*
* This code is Copyright (c) 2014, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
if (fgets(line, sizeof(line), stdin) == NULL)
done (1);
- TrimSuffixC(line, '\n');
+ trim_suffix_c(line, '\n');
return line;
}
code = geta();
}
if (cred == NULL) {
- advise(NULL, "error exchanging code for OAuth2 token");
+ inform("error exchanging code for OAuth2 token");
adios(NULL, mh_oauth_get_err_string(ctx));
}