]> diplodocus.org Git - nmh/blobdiff - uip/mhlogin.c
Removed reference to nmh User's Manual because there is no such
[nmh] / uip / mhlogin.c
index 6ce414f201c1853e1404c57e8e4112d5d7556d5a..aabe9a3d87cd7c87c8de5f304a631a6015208ae1 100644 (file)
@@ -71,7 +71,7 @@ do_login(const char *svc, const char *user, const char *browser, int snoop)
         mh_oauth_log_to(stderr, ctx);
     }
 
         mh_oauth_log_to(stderr, ctx);
     }
 
-    fn = getcpy(mh_oauth_cred_fn(ctx));
+    fn = getcpy(mh_oauth_cred_fn(svc));
 
     if ((url = mh_oauth_get_authorize_url(ctx)) == NULL) {
       adios(NULL, mh_oauth_get_err_string(ctx));
 
     if ((url = mh_oauth_get_authorize_url(ctx)) == NULL) {
       adios(NULL, mh_oauth_get_err_string(ctx));