/*
- * Copyright (C) 2011-2014 jeanfi@gmail.com
+ * Copyright (C) 2011-2015 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
result = bpph_list_append_list(result,
json_object_to_bpph_list(o));
- o_next = json_object_object_get(o, "next_collection_link");
+ json_object_object_get_ex(o, "next_collection_link", &o_next);
if (o_next)
url = strdup(json_object_get_string(o_next));