{"action":"opened","number":699,"pull_request":{"url":"https://api.github.com/repos/ossec/ossec-hids/pulls/699","id":51835983,"html_url":"https://github.com/ossec/ossec-hids/pull/699","diff_url":"https://github.com/ossec/ossec-hids/pull/699.diff","patch_url":"https://github.com/ossec/ossec-hids/pull/699.patch","issue_url":"https://api.github.com/repos/ossec/ossec-hids/issues/699","number":699,"state":"open","locked":false,"title":"Encompassing only complete statements with conditional directives.","user":{"login":"flaviommedeiros","id":4147365,"avatar_url":"https://avatars.githubusercontent.com/u/4147365?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviommedeiros","html_url":"https://github.com/flaviommedeiros","followers_url":"https://api.github.com/users/flaviommedeiros/followers","following_url":"https://api.github.com/users/flaviommedeiros/following{/other_user}","gists_url":"https://api.github.com/users/flaviommedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviommedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviommedeiros/subscriptions","organizations_url":"https://api.github.com/users/flaviommedeiros/orgs","repos_url":"https://api.github.com/users/flaviommedeiros/repos","events_url":"https://api.github.com/users/flaviommedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/flaviommedeiros/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- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/CodingStyle#n892\r\n- 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-11-25T19:22:54Z","updated_at":"2015-11-25T19:22:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ossec/ossec-hids/pulls/699/commits","review_comments_url":"https://api.github.com/repos/ossec/ossec-hids/pulls/699/comments","review_comment_url":"https://api.github.com/repos/ossec/ossec-hids/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ossec/ossec-hids/issues/699/comments","statuses_url":"https://api.github.com/repos/ossec/ossec-hids/statuses/79e74bcf15c150f4f51cd1d3fc8fad703936dc9e","head":{"label":"flaviommedeiros:master","ref":"master","sha":"79e74bcf15c150f4f51cd1d3fc8fad703936dc9e","user":{"login":"flaviommedeiros","id":4147365,"avatar_url":"https://avatars.githubusercontent.com/u/4147365?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviommedeiros","html_url":"https://github.com/flaviommedeiros","followers_url":"https://api.github.com/users/flaviommedeiros/followers","following_url":"https://api.github.com/users/flaviommedeiros/following{/other_user}","gists_url":"https://api.github.com/users/flaviommedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviommedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviommedeiros/subscriptions","organizations_url":"https://api.github.com/users/flaviommedeiros/orgs","repos_url":"https://api.github.com/users/flaviommedeiros/repos","events_url":"https://api.github.com/users/flaviommedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/flaviommedeiros/received_events","type":"User","site_admin":false},"repo":{"id":46881584,"name":"ossec-hids","full_name":"flaviommedeiros/ossec-hids","owner":{"login":"flaviommedeiros","id":4147365,"avatar_url":"https://avatars.githubusercontent.com/u/4147365?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviommedeiros","html_url":"https://github.com/flaviommedeiros","followers_url":"https://api.github.com/users/flaviommedeiros/followers","following_url":"https://api.github.com/users/flaviommedeiros/following{/other_user}","gists_url":"https://api.github.com/users/flaviommedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviommedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviommedeiros/subscriptions","organizations_url":"https://api.github.com/users/flaviommedeiros/orgs","repos_url":"https://api.github.com/users/flaviommedeiros/repos","events_url":"https://api.github.com/users/flaviommedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/flaviommedeiros/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flaviommedeiros/ossec-hids","description":"OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.","fork":true,"url":"https://api.github.com/repos/flaviommedeiros/ossec-hids","forks_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/forks","keys_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/teams","hooks_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/hooks","issue_events_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/issues/events{/number}","events_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/events","assignees_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/assignees{/user}","branches_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/branches{/branch}","tags_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/tags","blobs_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/git/refs{/sha}","trees_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/statuses/{sha}","languages_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/languages","stargazers_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/stargazers","contributors_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/contributors","subscribers_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/subscribers","subscription_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/subscription","commits_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/commits{/sha}","git_commits_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/git/commits{/sha}","comments_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/comments{/number}","issue_comment_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/issues/comments{/number}","contents_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/contents/{+path}","compare_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/merges","archive_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/downloads","issues_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/issues{/number}","pulls_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/pulls{/number}","milestones_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/milestones{/number}","notifications_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/labels{/name}","releases_url":"https://api.github.com/repos/flaviommedeiros/ossec-hids/releases{/id}","created_at":"2015-11-25T19:19:24Z","updated_at":"2015-11-25T19:19:28Z","pushed_at":"2015-11-25T19:22:23Z","git_url":"git://github.com/flaviommedeiros/ossec-hids.git","ssh_url":"git@github.com:flaviommedeiros/ossec-hids.git","clone_url":"https://github.com/flaviommedeiros/ossec-hids.git","svn_url":"https://github.com/flaviommedeiros/ossec-hids","homepage":"http://ossec.github.io","size":20569,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ossec:master","ref":"master","sha":"04f18818186d590e762102b6ee90ac8ff46d795a","user":{"login":"ossec","id":5479983,"avatar_url":"https://avatars.githubusercontent.com/u/5479983?v=3","gravatar_id":"","url":"https://api.github.com/users/ossec","html_url":"https://github.com/ossec","followers_url":"https://api.github.com/users/ossec/followers","following_url":"https://api.github.com/users/ossec/following{/other_user}","gists_url":"https://api.github.com/users/ossec/gists{/gist_id}","starred_url":"https://api.github.com/users/ossec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ossec/subscriptions","organizations_url":"https://api.github.com/users/ossec/orgs","repos_url":"https://api.github.com/users/ossec/repos","events_url":"https://api.github.com/users/ossec/events{/privacy}","received_events_url":"https://api.github.com/users/ossec/received_events","type":"Organization","site_admin":false},"repo":{"id":12901559,"name":"ossec-hids","full_name":"ossec/ossec-hids","owner":{"login":"ossec","id":5479983,"avatar_url":"https://avatars.githubusercontent.com/u/5479983?v=3","gravatar_id":"","url":"https://api.github.com/users/ossec","html_url":"https://github.com/ossec","followers_url":"https://api.github.com/users/ossec/followers","following_url":"https://api.github.com/users/ossec/following{/other_user}","gists_url":"https://api.github.com/users/ossec/gists{/gist_id}","starred_url":"https://api.github.com/users/ossec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ossec/subscriptions","organizations_url":"https://api.github.com/users/ossec/orgs","repos_url":"https://api.github.com/users/ossec/repos","events_url":"https://api.github.com/users/ossec/events{/privacy}","received_events_url":"https://api.github.com/users/ossec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ossec/ossec-hids","description":"OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.","fork":false,"url":"https://api.github.com/repos/ossec/ossec-hids","forks_url":"https://api.github.com/repos/ossec/ossec-hids/forks","keys_url":"https://api.github.com/repos/ossec/ossec-hids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ossec/ossec-hids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ossec/ossec-hids/teams","hooks_url":"https://api.github.com/repos/ossec/ossec-hids/hooks","issue_events_url":"https://api.github.com/repos/ossec/ossec-hids/issues/events{/number}","events_url":"https://api.github.com/repos/ossec/ossec-hids/events","assignees_url":"https://api.github.com/repos/ossec/ossec-hids/assignees{/user}","branches_url":"https://api.github.com/repos/ossec/ossec-hids/branches{/branch}","tags_url":"https://api.github.com/repos/ossec/ossec-hids/tags","blobs_url":"https://api.github.com/repos/ossec/ossec-hids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ossec/ossec-hids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ossec/ossec-hids/git/refs{/sha}","trees_url":"https://api.github.com/repos/ossec/ossec-hids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ossec/ossec-hids/statuses/{sha}","languages_url":"https://api.github.com/repos/ossec/ossec-hids/languages","stargazers_url":"https://api.github.com/repos/ossec/ossec-hids/stargazers","contributors_url":"https://api.github.com/repos/ossec/ossec-hids/contributors","subscribers_url":"https://api.github.com/repos/ossec/ossec-hids/subscribers","subscription_url":"https://api.github.com/repos/ossec/ossec-hids/subscription","commits_url":"https://api.github.com/repos/ossec/ossec-hids/commits{/sha}","git_commits_url":"https://api.github.com/repos/ossec/ossec-hids/git/commits{/sha}","comments_url":"https://api.github.com/repos/ossec/ossec-hids/comments{/number}","issue_comment_url":"https://api.github.com/repos/ossec/ossec-hids/issues/comments{/number}","contents_url":"https://api.github.com/repos/ossec/ossec-hids/contents/{+path}","compare_url":"https://api.github.com/repos/ossec/ossec-hids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ossec/ossec-hids/merges","archive_url":"https://api.github.com/repos/ossec/ossec-hids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ossec/ossec-hids/downloads","issues_url":"https://api.github.com/repos/ossec/ossec-hids/issues{/number}","pulls_url":"https://api.github.com/repos/ossec/ossec-hids/pulls{/number}","milestones_url":"https://api.github.com/repos/ossec/ossec-hids/milestones{/number}","notifications_url":"https://api.github.com/repos/ossec/ossec-hids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ossec/ossec-hids/labels{/name}","releases_url":"https://api.github.com/repos/ossec/ossec-hids/releases{/id}","created_at":"2013-09-17T17:07:58Z","updated_at":"2015-11-23T05:44:38Z","pushed_at":"2015-11-25T17:10:20Z","git_url":"git://github.com/ossec/ossec-hids.git","ssh_url":"git@github.com:ossec/ossec-hids.git","clone_url":"https://github.com/ossec/ossec-hids.git","svn_url":"https://github.com/ossec/ossec-hids","homepage":"http://ossec.github.io","size":21666,"stargazers_count":730,"watchers_count":730,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":271,"mirror_url":null,"open_issues_count":115,"forks":271,"open_issues":115,"watchers":730,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ossec/ossec-hids/pulls/699"},"html":{"href":"https://github.com/ossec/ossec-hids/pull/699"},"issue":{"href":"https://api.github.com/repos/ossec/ossec-hids/issues/699"},"comments":{"href":"https://api.github.com/repos/ossec/ossec-hids/issues/699/comments"},"review_comments":{"href":"https://api.github.com/repos/ossec/ossec-hids/pulls/699/comments"},"review_comment":{"href":"https://api.github.com/repos/ossec/ossec-hids/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ossec/ossec-hids/pulls/699/commits"},"statuses":{"href":"https://api.github.com/repos/ossec/ossec-hids/statuses/79e74bcf15c150f4f51cd1d3fc8fad703936dc9e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":2,"changed_files":1}}