Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a bug of retrieving a URI repeatedly.

* twittering-mode.el: Fix a bug of retrieving a URI repeatedly.
(twittering-resolve-url-request): bind `additional-info' to the
appropriate alist storing the URI that will be retrieved. The
alist is referred by `twittering-url-retrieve-async-sentinel' and
`twittering-url-retrieve-async-clean-up-sentinel'. Since the alist
was null, a URI might be retrieved repeatedly.
  • Loading branch information...
commit 88d260eba8498869108d142826e994a82afedead 1 parent 83c6bda
@cvmat cvmat authored
Showing with 10 additions and 1 deletion.
  1. +9 −0 ChangeLog
  2. +1 −1  twittering-mode.el
View
9 ChangeLog
@@ -1,3 +1,12 @@
+2010-11-27 Tadashi MATSUO <tad@mymail.twin.jp>
+
+ * twittering-mode.el: Fix a bug of retrieving a URI repeatedly.
+ (twittering-resolve-url-request): bind `additional-info' to the
+ appropriate alist storing the URI that will be retrieved. The
+ alist is referred by `twittering-url-retrieve-async-sentinel' and
+ `twittering-url-retrieve-async-clean-up-sentinel'. Since the alist
+ was null, a URI might be retrieved repeatedly.
+
2010-11-25 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el: Delay next asynchronous retrieval until all
View
2  twittering-mode.el
@@ -2723,7 +2723,7 @@ this variable specifies. The unit is second.")
(setq twittering-url-request-resolving-p nil)
(let* ((url (car twittering-internal-url-queue))
(request (twittering-make-http-request-from-uri "GET" nil url))
- (additional-info nil))
+ (additional-info `((uri . ,url))))
(twittering-send-http-request
request additional-info
'twittering-url-retrieve-async-sentinel
Please sign in to comment.
Something went wrong with that request. Please try again.