diff options
author | Alan F <ajf@eth0.org.uk> | 2014-02-24 18:48:23 +0000 |
---|---|---|
committer | Alan F <ajf@eth0.org.uk> | 2014-02-24 18:48:23 +0000 |
commit | 907636d97b1893e9df4ef28489c92d32118c6fa2 (patch) | |
tree | 3c621a000536cc2124ff4d20b8cdb9e084b86ab8 /src/util.c | |
parent | 1d6f77d4c4fafd0a9cafddd2797249557e601dba (diff) |
plug the RSS feeds into the preferences dialog and put ifdefs so it should compile without rss-glib
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -340,7 +340,7 @@ gchar *make_error_message(JsonObject * response, int status) { if (status == FAIL_JSON_DECODE) { return g_strdup(_("JSON decoding error.")); - } else if (status == FAIL_RESPONSE_UNSUCCESSFUL) { + } else if (response && status == FAIL_RESPONSE_UNSUCCESSFUL) { const gchar *resultStr = json_object_get_string_member(response, "result"); if (resultStr == NULL) |