build with -Wall -Wextra -Werror and fix errors

This commit is contained in:
josch
2014-09-19 09:21:28 +02:00
parent ef3b2aa844
commit b322f68ad2
21 changed files with 66 additions and 24 deletions

View File

@@ -63,6 +63,9 @@ _decode_user_get_info(http_t *conn, void *data)
json_t *first_name;
json_t *last_name;
if (data != NULL)
return -1;
root = http_parse_buf_json(conn, 0, &error);
node = json_object_by_path(root,"response/user_info");