From: gregor herrmann Date: Fri, 4 Nov 2011 19:42:19 +0000 (+0100) Subject: Output actually used config file name instead of hardcoded ~/.bti in request_access_t... X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/commitdiff_plain/faf1ebab9ce65a8ec7b8bb83f0e969396417cfd5?hp=49444d16c5c1a9faa75a715214e2436010daa7e6 Output actually used config file name instead of hardcoded ~/.bti in request_access_token(). This was reported by Vincent Lefevre in http://bugs.debian.org/646681 --- diff --git a/bti.c b/bti.c index 8478345..11cd0ab 100644 --- a/bti.c +++ b/bti.c @@ -519,10 +519,10 @@ static int request_access_token(struct session *session) fprintf(stdout, "Please put these two lines in your bti " - "configuration file (~/.bti):\n" + "configuration file (%s):\n" "access_token_key=%s\n" "access_token_secret=%s\n", - at_key, at_secret); + session->configfile, at_key, at_secret); return 0; }