Skip to content

Commit

Permalink
Fix build-subreddit-url.
Browse files Browse the repository at this point in the history
  • Loading branch information
john2x committed Mar 31, 2013
1 parent 1d6f30c commit bdc1fc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reddit/clj/client.clj
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
(defn- build-subreddit-url
[rname qualifier rcount since]
(str "http://www.reddit.com"
(and rname (str "/r/" rname "/"))
(str qualifier "/")
(and rname (str "/r/" rname))
(str "/" qualifier "/")
".json"
(build-pagination-param rcount since)))

Expand Down

0 comments on commit bdc1fc2

Please sign in to comment.