/[debian]/bti/trunk/debian/patches/0001-Output-actually-used-config-file-name-instead-of-har.patch
ViewVC logotype

Contents of /bti/trunk/debian/patches/0001-Output-actually-used-config-file-name-instead-of-har.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2683 - (show annotations)
Fri Nov 4 20:17:16 2011 UTC (8 years, 11 months ago) by gregoa
File size: 854 byte(s)
Add patch to output the correct configfile name (identi.ca/OAuth/access
tokens). Thanks to Vincent Lefevre for the bug report; closes: #646681.
1 From faf1ebab9ce65a8ec7b8bb83f0e969396417cfd5 Mon Sep 17 00:00:00 2001
2 From: gregor herrmann <gregoa@debian.org>
3 Date: Fri, 4 Nov 2011 20:42:19 +0100
4 Subject: [PATCH] Output actually used config file name instead of hardcoded
5 ~/.bti in request_access_token().
6
7 This was reported by Vincent Lefevre in http://bugs.debian.org/646681
8 ---
9 bti.c | 4 ++--
10 1 files changed, 2 insertions(+), 2 deletions(-)
11
12 diff --git a/bti.c b/bti.c
13 index 8478345..11cd0ab 100644
14 --- a/bti.c
15 +++ b/bti.c
16 @@ -519,10 +519,10 @@ static int request_access_token(struct session *session)
17
18 fprintf(stdout,
19 "Please put these two lines in your bti "
20 - "configuration file (~/.bti):\n"
21 + "configuration file (%s):\n"
22 "access_token_key=%s\n"
23 "access_token_secret=%s\n",
24 - at_key, at_secret);
25 + session->configfile, at_key, at_secret);
26
27 return 0;
28 }
29 --
30 1.7.7.1
31

  ViewVC Help
Powered by ViewVC 1.1.26