Add patch to output the correct configfile name (identi.ca/OAuth/access
authorgregor herrmann <gregoa@debian.org>
Fri, 4 Nov 2011 20:17:16 +0000 (20:17 -0000)
committergregor herrmann <gregoa@debian.org>
Fri, 4 Nov 2011 20:17:16 +0000 (20:17 -0000)
tokens). Thanks to Vincent Lefevre for the bug report; closes: #646681.

debian/changelog
debian/patches/0001-Output-actually-used-config-file-name-instead-of-har.patch [new file with mode: 0644]
debian/patches/series

index 24b1d3b..cfd9548 100644 (file)
@@ -1,3 +1,10 @@
+bti (031-3) UNRELEASED; urgency=low
+
+  * Add patch to output the correct configfile name (identi.ca/OAuth/access
+    tokens). Thanks to Vincent Lefevre for the bug report; closes: #646681.
+
+ -- gregor herrmann <gregoa@debian.org>  Fri, 04 Nov 2011 20:49:17 +0100
+
 bti (031-2) unstable; urgency=low
 
   * New patch debian/patches/identi.ca-oauth.patch: change identica_* OAuth
diff --git a/debian/patches/0001-Output-actually-used-config-file-name-instead-of-har.patch b/debian/patches/0001-Output-actually-used-config-file-name-instead-of-har.patch
new file mode 100644 (file)
index 0000000..dcc7a74
--- /dev/null
@@ -0,0 +1,31 @@
+From faf1ebab9ce65a8ec7b8bb83f0e969396417cfd5 Mon Sep 17 00:00:00 2001
+From: gregor herrmann <gregoa@debian.org>
+Date: Fri, 4 Nov 2011 20:42:19 +0100
+Subject: [PATCH] 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 files 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;
+ }
+-- 
+1.7.7.1
+
index e18d0c7..e115c2f 100644 (file)
@@ -1,3 +1,4 @@
 manpage-debian.patch
 statusnet.patch
 identi.ca-oauth.patch
+0001-Output-actually-used-config-file-name-instead-of-har.patch