Merge branch 'bugfix_no_expires' into 0.1.x

This commit is contained in:
Luke Dashjr
2012-10-18 12:49:23 +00:00

View File

@@ -218,7 +218,8 @@ const char *blktmpl_add_jansson(blktemplate_t *tmpl, const json_t *json, time_t
GETSTR(workid, workid);
GETNUM(expires);
if (json_object_get(json, "expires"))
GETNUM(expires);
GETSTR(longpollid, lp.id);
GETSTR(longpolluri, lp.uri);