X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6d631a50b61036912683003bc53d92be05576630..a23477eb:/uip/mhlogin.c?ds=inline diff --git a/uip/mhlogin.c b/uip/mhlogin.c index ffa44f3f..32183863 100644 --- a/uip/mhlogin.c +++ b/uip/mhlogin.c @@ -1,5 +1,4 @@ -/* - * 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 @@ -40,7 +39,7 @@ geta (void) if (fgets(line, sizeof(line), stdin) == NULL) done (1); - TrimSuffixC(line, '\n'); + trim_suffix_c(line, '\n'); return line; } @@ -109,7 +108,7 @@ do_login(const char *svc, const char *user, const char *browser, int snoop) 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)); }