From b22f2e8b9babed00041e80552cf534c13a408675 Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Mon, 15 Jun 2009 15:45:02 +0200 Subject: [PATCH] fixed float output --- world/net/twitter/polly.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/world/net/twitter/polly.c b/world/net/twitter/polly.c index d72a6cb..f47400d 100644 --- a/world/net/twitter/polly.c +++ b/world/net/twitter/polly.c @@ -110,8 +110,9 @@ fetch() { feed -> content( #'parse, 1, 1 ); // twitter ignores since_id if count is present. stupid. feed -> fetch("http://twitter.com/statuses/friends_timeline.json?" - // +( lastid? ("since_id="+ lastid) : "count=23")); - "count="+( lastid? ("23&since_id="+ lastid) : "23")); + // +( lastid? ("since_id="+ lastid) : "count=23")); + "count="+( lastid? ("23&since_id="+ + sprintf("%F", lastid)) : "23")); } create() {