diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-04-23 17:08:34 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-04-23 17:08:34 +0000 |
commit | db6a9b33d286e1b2ded90957f6938591661a7a47 (patch) | |
tree | 2ea0f47ae4a21ca1194c0cda1e0a5c9987b1b912 /src/requests.c | |
parent | 9d0f1730fa146ee68ad3c6e3e6a9295364d22d98 (diff) |
reindent. remote prefs was sending the active encryption preference, lower cased, which won't work with i18n - fixed.
Diffstat (limited to 'src/requests.c')
-rw-r--r-- | src/requests.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/requests.c b/src/requests.c index b52f5c9..252a1dd 100644 --- a/src/requests.c +++ b/src/requests.c @@ -202,8 +202,11 @@ void request_set_tag(JsonNode * req, gint64 tag) json_object_set_int_member(json_node_get_object(req), PARAM_TAG, tag); } -void request_set_tag_from_ids(JsonNode *req, JsonArray *ids) +void request_set_tag_from_ids(JsonNode * req, JsonArray * ids) { - gint64 id = json_array_get_length(ids) == 1 ? json_array_get_int_element(ids, 0) : -1; + gint64 id = + json_array_get_length(ids) == 1 ? json_array_get_int_element(ids, + 0) : + -1; request_set_tag(req, id); } |