From 8bd904eb6d3bcda4d3ae0838dde1a1199ab685e6 Mon Sep 17 00:00:00 2001 From: Pedro Silva Date: Wed, 3 Apr 2013 00:45:28 +0100 Subject: Use locally bound ADDRESS instead of global nnttrss-address - nnttrss-get-{unread,counters} --- nnttrss.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nnttrss.el b/nnttrss.el index 5b2a5c5..751344f 100644 --- a/nnttrss.el +++ b/nnttrss.el @@ -125,7 +125,7 @@ credentials. Returns a session id string or nil." (defun nnttrss-get-unread (address session-id) "Return number of unread artibles at ADDRESS using SESSION-ID credentials." - (nnttrss-post-request nnttrss-address + (nnttrss-post-request address :unread :op "getUnread" :sid session-id)) @@ -135,7 +135,7 @@ credentials. Returns a session id string or nil." categories, or tags at ADDRESS using SESSION-ID credentials. Each plist has the keywords :counter and :id and, possibly, :has_img, :updated, and :kind." - (nnttrss-post-request nnttrss-address + (nnttrss-post-request address nil :op "getCounters" :sid session-id)) -- cgit v1.2.3