{"action":"opened","number":238,"pull_request":{"url":"https://api.github.com/repos/civetweb/civetweb/pulls/238","id":53529989,"html_url":"https://github.com/civetweb/civetweb/pull/238","diff_url":"https://github.com/civetweb/civetweb/pull/238.diff","patch_url":"https://github.com/civetweb/civetweb/pull/238.patch","issue_url":"https://api.github.com/repos/civetweb/civetweb/issues/238","number":238,"state":"open","locked":false,"title":"Refactoring conditional directives for incomplete if conditions.","user":{"login":"wmarquesr","id":7017961,"avatar_url":"https://avatars.githubusercontent.com/u/7017961?v=3","gravatar_id":"","url":"https://api.github.com/users/wmarquesr","html_url":"https://github.com/wmarquesr","followers_url":"https://api.github.com/users/wmarquesr/followers","following_url":"https://api.github.com/users/wmarquesr/following{/other_user}","gists_url":"https://api.github.com/users/wmarquesr/gists{/gist_id}","starred_url":"https://api.github.com/users/wmarquesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmarquesr/subscriptions","organizations_url":"https://api.github.com/users/wmarquesr/orgs","repos_url":"https://api.github.com/users/wmarquesr/repos","events_url":"https://api.github.com/users/wmarquesr/events{/privacy}","received_events_url":"https://api.github.com/users/wmarquesr/received_events","type":"User","site_admin":false},"body":"A suggestion to compile entire statements and expressions, as suggested by code style guidelines from the Linux Kernel and practitioners.\r\n\r\n* [Linux kernel coding style](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/CodingStyle#n892)\r\n* [Living in the #ifdef Hell](https://www.cqse.eu/en/blog/living-in-the-ifdef-hell/)\r\n\r\nIt might improve code understanding, maintainability and error-proneness.","created_at":"2015-12-14T06:50:46Z","updated_at":"2015-12-14T06:50:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/civetweb/civetweb/pulls/238/commits","review_comments_url":"https://api.github.com/repos/civetweb/civetweb/pulls/238/comments","review_comment_url":"https://api.github.com/repos/civetweb/civetweb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/civetweb/civetweb/issues/238/comments","statuses_url":"https://api.github.com/repos/civetweb/civetweb/statuses/6b7bd735a864a3927b330b40b17c42f32635c68d","head":{"label":"wmarquesr:master","ref":"master","sha":"6b7bd735a864a3927b330b40b17c42f32635c68d","user":{"login":"wmarquesr","id":7017961,"avatar_url":"https://avatars.githubusercontent.com/u/7017961?v=3","gravatar_id":"","url":"https://api.github.com/users/wmarquesr","html_url":"https://github.com/wmarquesr","followers_url":"https://api.github.com/users/wmarquesr/followers","following_url":"https://api.github.com/users/wmarquesr/following{/other_user}","gists_url":"https://api.github.com/users/wmarquesr/gists{/gist_id}","starred_url":"https://api.github.com/users/wmarquesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmarquesr/subscriptions","organizations_url":"https://api.github.com/users/wmarquesr/orgs","repos_url":"https://api.github.com/users/wmarquesr/repos","events_url":"https://api.github.com/users/wmarquesr/events{/privacy}","received_events_url":"https://api.github.com/users/wmarquesr/received_events","type":"User","site_admin":false},"repo":{"id":47956220,"name":"civetweb","full_name":"wmarquesr/civetweb","owner":{"login":"wmarquesr","id":7017961,"avatar_url":"https://avatars.githubusercontent.com/u/7017961?v=3","gravatar_id":"","url":"https://api.github.com/users/wmarquesr","html_url":"https://github.com/wmarquesr","followers_url":"https://api.github.com/users/wmarquesr/followers","following_url":"https://api.github.com/users/wmarquesr/following{/other_user}","gists_url":"https://api.github.com/users/wmarquesr/gists{/gist_id}","starred_url":"https://api.github.com/users/wmarquesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmarquesr/subscriptions","organizations_url":"https://api.github.com/users/wmarquesr/orgs","repos_url":"https://api.github.com/users/wmarquesr/repos","events_url":"https://api.github.com/users/wmarquesr/events{/privacy}","received_events_url":"https://api.github.com/users/wmarquesr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wmarquesr/civetweb","description":"Embedded C/C++ web server","fork":true,"url":"https://api.github.com/repos/wmarquesr/civetweb","forks_url":"https://api.github.com/repos/wmarquesr/civetweb/forks","keys_url":"https://api.github.com/repos/wmarquesr/civetweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wmarquesr/civetweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wmarquesr/civetweb/teams","hooks_url":"https://api.github.com/repos/wmarquesr/civetweb/hooks","issue_events_url":"https://api.github.com/repos/wmarquesr/civetweb/issues/events{/number}","events_url":"https://api.github.com/repos/wmarquesr/civetweb/events","assignees_url":"https://api.github.com/repos/wmarquesr/civetweb/assignees{/user}","branches_url":"https://api.github.com/repos/wmarquesr/civetweb/branches{/branch}","tags_url":"https://api.github.com/repos/wmarquesr/civetweb/tags","blobs_url":"https://api.github.com/repos/wmarquesr/civetweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wmarquesr/civetweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wmarquesr/civetweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/wmarquesr/civetweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wmarquesr/civetweb/statuses/{sha}","languages_url":"https://api.github.com/repos/wmarquesr/civetweb/languages","stargazers_url":"https://api.github.com/repos/wmarquesr/civetweb/stargazers","contributors_url":"https://api.github.com/repos/wmarquesr/civetweb/contributors","subscribers_url":"https://api.github.com/repos/wmarquesr/civetweb/subscribers","subscription_url":"https://api.github.com/repos/wmarquesr/civetweb/subscription","commits_url":"https://api.github.com/repos/wmarquesr/civetweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/wmarquesr/civetweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/wmarquesr/civetweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/wmarquesr/civetweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/wmarquesr/civetweb/contents/{+path}","compare_url":"https://api.github.com/repos/wmarquesr/civetweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wmarquesr/civetweb/merges","archive_url":"https://api.github.com/repos/wmarquesr/civetweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wmarquesr/civetweb/downloads","issues_url":"https://api.github.com/repos/wmarquesr/civetweb/issues{/number}","pulls_url":"https://api.github.com/repos/wmarquesr/civetweb/pulls{/number}","milestones_url":"https://api.github.com/repos/wmarquesr/civetweb/milestones{/number}","notifications_url":"https://api.github.com/repos/wmarquesr/civetweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wmarquesr/civetweb/labels{/name}","releases_url":"https://api.github.com/repos/wmarquesr/civetweb/releases{/id}","created_at":"2015-12-14T06:28:12Z","updated_at":"2015-12-14T06:28:13Z","pushed_at":"2015-12-14T06:50:10Z","git_url":"git://github.com/wmarquesr/civetweb.git","ssh_url":"git@github.com:wmarquesr/civetweb.git","clone_url":"https://github.com/wmarquesr/civetweb.git","svn_url":"https://github.com/wmarquesr/civetweb","homepage":null,"size":14441,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"civetweb:master","ref":"master","sha":"59f98613747aee8c15a1441cb72861c0111f47d7","user":{"login":"civetweb","id":13592161,"avatar_url":"https://avatars.githubusercontent.com/u/13592161?v=3","gravatar_id":"","url":"https://api.github.com/users/civetweb","html_url":"https://github.com/civetweb","followers_url":"https://api.github.com/users/civetweb/followers","following_url":"https://api.github.com/users/civetweb/following{/other_user}","gists_url":"https://api.github.com/users/civetweb/gists{/gist_id}","starred_url":"https://api.github.com/users/civetweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civetweb/subscriptions","organizations_url":"https://api.github.com/users/civetweb/orgs","repos_url":"https://api.github.com/users/civetweb/repos","events_url":"https://api.github.com/users/civetweb/events{/privacy}","received_events_url":"https://api.github.com/users/civetweb/received_events","type":"Organization","site_admin":false},"repo":{"id":13352949,"name":"civetweb","full_name":"civetweb/civetweb","owner":{"login":"civetweb","id":13592161,"avatar_url":"https://avatars.githubusercontent.com/u/13592161?v=3","gravatar_id":"","url":"https://api.github.com/users/civetweb","html_url":"https://github.com/civetweb","followers_url":"https://api.github.com/users/civetweb/followers","following_url":"https://api.github.com/users/civetweb/following{/other_user}","gists_url":"https://api.github.com/users/civetweb/gists{/gist_id}","starred_url":"https://api.github.com/users/civetweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civetweb/subscriptions","organizations_url":"https://api.github.com/users/civetweb/orgs","repos_url":"https://api.github.com/users/civetweb/repos","events_url":"https://api.github.com/users/civetweb/events{/privacy}","received_events_url":"https://api.github.com/users/civetweb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/civetweb/civetweb","description":"Embedded C/C++ web server","fork":false,"url":"https://api.github.com/repos/civetweb/civetweb","forks_url":"https://api.github.com/repos/civetweb/civetweb/forks","keys_url":"https://api.github.com/repos/civetweb/civetweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/civetweb/civetweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/civetweb/civetweb/teams","hooks_url":"https://api.github.com/repos/civetweb/civetweb/hooks","issue_events_url":"https://api.github.com/repos/civetweb/civetweb/issues/events{/number}","events_url":"https://api.github.com/repos/civetweb/civetweb/events","assignees_url":"https://api.github.com/repos/civetweb/civetweb/assignees{/user}","branches_url":"https://api.github.com/repos/civetweb/civetweb/branches{/branch}","tags_url":"https://api.github.com/repos/civetweb/civetweb/tags","blobs_url":"https://api.github.com/repos/civetweb/civetweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/civetweb/civetweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/civetweb/civetweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/civetweb/civetweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/civetweb/civetweb/statuses/{sha}","languages_url":"https://api.github.com/repos/civetweb/civetweb/languages","stargazers_url":"https://api.github.com/repos/civetweb/civetweb/stargazers","contributors_url":"https://api.github.com/repos/civetweb/civetweb/contributors","subscribers_url":"https://api.github.com/repos/civetweb/civetweb/subscribers","subscription_url":"https://api.github.com/repos/civetweb/civetweb/subscription","commits_url":"https://api.github.com/repos/civetweb/civetweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/civetweb/civetweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/civetweb/civetweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/civetweb/civetweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/civetweb/civetweb/contents/{+path}","compare_url":"https://api.github.com/repos/civetweb/civetweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/civetweb/civetweb/merges","archive_url":"https://api.github.com/repos/civetweb/civetweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/civetweb/civetweb/downloads","issues_url":"https://api.github.com/repos/civetweb/civetweb/issues{/number}","pulls_url":"https://api.github.com/repos/civetweb/civetweb/pulls{/number}","milestones_url":"https://api.github.com/repos/civetweb/civetweb/milestones{/number}","notifications_url":"https://api.github.com/repos/civetweb/civetweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/civetweb/civetweb/labels{/name}","releases_url":"https://api.github.com/repos/civetweb/civetweb/releases{/id}","created_at":"2013-10-05T21:37:17Z","updated_at":"2015-12-13T04:12:17Z","pushed_at":"2015-12-14T06:50:46Z","git_url":"git://github.com/civetweb/civetweb.git","ssh_url":"git@github.com:civetweb/civetweb.git","clone_url":"https://github.com/civetweb/civetweb.git","svn_url":"https://github.com/civetweb/civetweb","homepage":null,"size":16376,"stargazers_count":272,"watchers_count":272,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":28,"forks":180,"open_issues":28,"watchers":272,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/civetweb/civetweb/pulls/238"},"html":{"href":"https://github.com/civetweb/civetweb/pull/238"},"issue":{"href":"https://api.github.com/repos/civetweb/civetweb/issues/238"},"comments":{"href":"https://api.github.com/repos/civetweb/civetweb/issues/238/comments"},"review_comments":{"href":"https://api.github.com/repos/civetweb/civetweb/pulls/238/comments"},"review_comment":{"href":"https://api.github.com/repos/civetweb/civetweb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/civetweb/civetweb/pulls/238/commits"},"statuses":{"href":"https://api.github.com/repos/civetweb/civetweb/statuses/6b7bd735a864a3927b330b40b17c42f32635c68d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":29,"deletions":28,"changed_files":1}}