diff --git a/src/rss.cc b/src/rss.cc index 18b551d5..cfaeec26 100644 --- a/src/rss.cc +++ b/src/rss.cc @@ -82,7 +82,7 @@ static void rss_process_info(char *p, int p_max_size, const std::string &uri, ch std::shared_ptr data = cb->get_result_copy(); - if (data == NULL || data->item_count < 1) { + if (!data || data->item_count < 1) { *p = 0; } else { /*