From faf1ebab9ce65a8ec7b8bb83f0e969396417cfd5 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Fri, 4 Nov 2011 20:42:19 +0100 Subject: [PATCH 1/1] 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 --- bti.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5