Merge branch 'bugfix_no_expires' into 0.1.x
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user