X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8c69934299322c189e72259c2b31545c94697ea8..e6c91771:/uip/mhlogin.c diff --git a/uip/mhlogin.c b/uip/mhlogin.c index 4a42aea2..1cc1c23c 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 @@ -13,6 +12,7 @@ #include #include #include +#include "../sbr/lock_file.h" #define MHLOGIN_SWITCHES \ X("user username", 0, USERSW) \ @@ -109,7 +109,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)); }