)]}'
{
  "commit": "2af4d5b2e272232433ed7a6598f0de23d31b76c0",
  "tree": "d53bf1360ed9229f4c334f7674f4ed83657e90ea",
  "parents": [
    "cb8febdda27f41009245da89ab481bde4d53cd43"
  ],
  "author": {
    "name": "Andy Green",
    "email": "andy.green@linaro.org",
    "time": "Mon Feb 18 16:30:10 2013 +0800"
  },
  "committer": {
    "name": "Andy Green",
    "email": "andy.green@linaro.org",
    "time": "Mon Feb 18 16:30:10 2013 +0800"
  },
  "message": "remove lws_ensure_user_space from public api change return\n\nThe function has a logical problem when the size of the requested\nallocation is 0, it will return NULL which is overloaded as\nfailure.\n\nActually the whole function is evil as an api, this patch moves\nit out of the public API space and fixes it to return 0 for\nsuccess or 1 for fail.  Private code does not need to to return\nwsi-\u003euser_space and public code should only get that from the\ncallback as discussed on trac recently.\n\nThanks to Edwin for debugging the problem.\n\nReported-by: Edwin van den Oetelaar \u003coetelaar.automatisering@gmail.com\u003e\nSigned-off-by: Andy Green \u003candy.green@linaro.org\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6422fb7b798222caa7c3747ebe6d98b7d95c7094",
      "old_mode": 33188,
      "old_path": "lib/client.c",
      "new_id": "576c7ff1b3c00ea6a15b70df0ad288920d4a11da",
      "new_mode": 33188,
      "new_path": "lib/client.c"
    },
    {
      "type": "modify",
      "old_id": "b21d73db8bf02e6ad10783f4fe5cb05c7686297f",
      "old_mode": 33188,
      "old_path": "lib/handshake.c",
      "new_id": "50138dd82881de3ecaaec69932f54a15fef971f3",
      "new_mode": 33188,
      "new_path": "lib/handshake.c"
    },
    {
      "type": "modify",
      "old_id": "849ffb44f1eaa8ff95bc78e7d00af8a3ea52b5d2",
      "old_mode": 33188,
      "old_path": "lib/libwebsockets.c",
      "new_id": "65adcf5a6db2b1b567efe7e3bf2a01094780528e",
      "new_mode": 33188,
      "new_path": "lib/libwebsockets.c"
    },
    {
      "type": "modify",
      "old_id": "e1c04cc4e691c4acbc07cda53e1061e8feaca70f",
      "old_mode": 33188,
      "old_path": "lib/libwebsockets.h",
      "new_id": "779af2edf1856b3ec32b4c5ebc062a71e76ddefe",
      "new_mode": 33188,
      "new_path": "lib/libwebsockets.h"
    },
    {
      "type": "modify",
      "old_id": "6c2ae74fe52328f398a27a1ab0da8e3cec4fad9f",
      "old_mode": 33188,
      "old_path": "lib/private-libwebsockets.h",
      "new_id": "3bde49188bed0c07ca6e3588a94417aa2b9a8409",
      "new_mode": 33188,
      "new_path": "lib/private-libwebsockets.h"
    },
    {
      "type": "modify",
      "old_id": "627fb31b21f2b56109a83e13b330115648bfa4e6",
      "old_mode": 33188,
      "old_path": "lib/server-handshake.c",
      "new_id": "75938fe915f1532f80c6cc28bd9b9954ad3afe42",
      "new_mode": 33188,
      "new_path": "lib/server-handshake.c"
    },
    {
      "type": "modify",
      "old_id": "306f18e67bb1634c1044aef0376c31a7a67ba98e",
      "old_mode": 33188,
      "old_path": "libwebsockets-api-doc.html",
      "new_id": "c0ea6cd31b7f7e87fd3756f41f806f0b4a873d4a",
      "new_mode": 33188,
      "new_path": "libwebsockets-api-doc.html"
    }
  ]
}
