summaryrefslogtreecommitdiff
path: root/src/session-get.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-08 23:00:13 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-08 23:00:13 +0000
commit3757c78e835d01bddf89675e1c60a77020543338 (patch)
treec145fd0cff4718639bbc26d57c4f37859337c003 /src/session-get.c
parent10df84a14e6ce6d40ddd55a2d24442b6d9dc5dd4 (diff)
install license and use it in about dialog if possible
Diffstat (limited to 'src/session-get.c')
-rw-r--r--src/session-get.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/session-get.c b/src/session-get.c
index 34e409b..dd4bfa1 100644
--- a/src/session-get.c
+++ b/src/session-get.c
@@ -64,11 +64,10 @@ gboolean session_get_port_forwarding_enabled(JsonObject * s)
const gchar *session_get_blocklist_url(JsonObject * s)
{
- if (json_object_has_member(s, SGET_BLOCKLIST_URL)) {
+ if (json_object_has_member(s, SGET_BLOCKLIST_URL))
return json_object_get_string_member(s, SGET_BLOCKLIST_URL);
- } else {
+ else
return NULL;
- }
}
gint64 session_get_blocklist_size(JsonObject * s)