{"action":"created","comment":{"url":"https://api.github.com/repos/collectd/collectd/pulls/comments/59943307","id":59943307,"diff_hunk":"@@ -213,21 +209,21 @@ coretemp_findcores ()\n \t    realloc_sucks = c;\n \t    if (NULL ==\n \t\t(c =\n-\t\t realloc (c,\n-\t\t\t  sizeof (struct coretemp_core *) *\n-\t\t\t  (core_count + 1))))\n+\t\t realloc(c,\n+\t\t\t sizeof(struct coretemp_core *) *\n+\t\t\t (core_count + 1))))\n \t    {\n \t      c = realloc_sucks;\n-\t      ERROR (\"coretemp plugin: realloc failed\");\n+\t      ERROR(\"coretemp plugin: realloc failed\");\n \t      goto error_exit;\n \t    }\n \t    if (NULL ==\n-\t\t(c[core_count] = malloc (sizeof (struct coretemp_core))))\n+\t\t(c[core_count] = malloc(sizeof(struct coretemp_core))))","path":"src/coretemp.c","position":null,"original_position":232,"commit_id":"f08194ec3442c5e21a00440366c567321b25e18f","original_commit_id":"eeae2b25fc449b8cd2df7ed3f1d92c3e9444931e","user":{"login":"sigsegv0x0b","id":6982462,"avatar_url":"https://avatars.githubusercontent.com/u/6982462?v=3","gravatar_id":"","url":"https://api.github.com/users/sigsegv0x0b","html_url":"https://github.com/sigsegv0x0b","followers_url":"https://api.github.com/users/sigsegv0x0b/followers","following_url":"https://api.github.com/users/sigsegv0x0b/following{/other_user}","gists_url":"https://api.github.com/users/sigsegv0x0b/gists{/gist_id}","starred_url":"https://api.github.com/users/sigsegv0x0b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigsegv0x0b/subscriptions","organizations_url":"https://api.github.com/users/sigsegv0x0b/orgs","repos_url":"https://api.github.com/users/sigsegv0x0b/repos","events_url":"https://api.github.com/users/sigsegv0x0b/events{/privacy}","received_events_url":"https://api.github.com/users/sigsegv0x0b/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2016-04-15T21:25:12Z","updated_at":"2016-04-15T21:25:13Z","html_url":"https://github.com/collectd/collectd/pull/1664#discussion_r59943307","pull_request_url":"https://api.github.com/repos/collectd/collectd/pulls/1664","_links":{"self":{"href":"https://api.github.com/repos/collectd/collectd/pulls/comments/59943307"},"html":{"href":"https://github.com/collectd/collectd/pull/1664#discussion_r59943307"},"pull_request":{"href":"https://api.github.com/repos/collectd/collectd/pulls/1664"}}},"pull_request":{"url":"https://api.github.com/repos/collectd/collectd/pulls/1664","id":65893129,"html_url":"https://github.com/collectd/collectd/pull/1664","diff_url":"https://github.com/collectd/collectd/pull/1664.diff","patch_url":"https://github.com/collectd/collectd/pull/1664.patch","issue_url":"https://api.github.com/repos/collectd/collectd/issues/1664","number":1664,"state":"open","locked":false,"title":"CoreTemp module","user":{"login":"sigsegv0x0b","id":6982462,"avatar_url":"https://avatars.githubusercontent.com/u/6982462?v=3","gravatar_id":"","url":"https://api.github.com/users/sigsegv0x0b","html_url":"https://github.com/sigsegv0x0b","followers_url":"https://api.github.com/users/sigsegv0x0b/followers","following_url":"https://api.github.com/users/sigsegv0x0b/following{/other_user}","gists_url":"https://api.github.com/users/sigsegv0x0b/gists{/gist_id}","starred_url":"https://api.github.com/users/sigsegv0x0b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigsegv0x0b/subscriptions","organizations_url":"https://api.github.com/users/sigsegv0x0b/orgs","repos_url":"https://api.github.com/users/sigsegv0x0b/repos","events_url":"https://api.github.com/users/sigsegv0x0b/events{/privacy}","received_events_url":"https://api.github.com/users/sigsegv0x0b/received_events","type":"User","site_admin":false},"body":"Read coretemp values provided by the kernel into collectd\r\n\r\nfrom /sys/devices/platform/coretemp* \r\n\r\nConfig\r\n\r\n  \"MaxValues\",          // [ true ], only, none\r\n  \"ValuesPercentage\",   // [ true ], false\r\n  \"ValuesDegrees\",      // [ true ], false\r\n\r\nMaxValues\r\nProvides values only for the hottest core found. Useful if you\r\nhave a lot cores but only need to see if there is problems, the single\r\nhottest core reading is good enough for that\r\n\r\nValuesPercentage\r\nReads the tjmax from coretemp and shows temperature/tjmax*100 rather then actual temperature\r\n\r\nValuesDegrees\r\nProvides core value in degrees","created_at":"2016-04-09T21:31:05Z","updated_at":"2016-04-15T21:25:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed09a15420e2719ee9fa22fc1ac883247f5e1a7f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/collectd/collectd/pulls/1664/commits","review_comments_url":"https://api.github.com/repos/collectd/collectd/pulls/1664/comments","review_comment_url":"https://api.github.com/repos/collectd/collectd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/collectd/collectd/issues/1664/comments","statuses_url":"https://api.github.com/repos/collectd/collectd/statuses/f08194ec3442c5e21a00440366c567321b25e18f","head":{"label":"sigsegv0x0b:master","ref":"master","sha":"f08194ec3442c5e21a00440366c567321b25e18f","user":{"login":"sigsegv0x0b","id":6982462,"avatar_url":"https://avatars.githubusercontent.com/u/6982462?v=3","gravatar_id":"","url":"https://api.github.com/users/sigsegv0x0b","html_url":"https://github.com/sigsegv0x0b","followers_url":"https://api.github.com/users/sigsegv0x0b/followers","following_url":"https://api.github.com/users/sigsegv0x0b/following{/other_user}","gists_url":"https://api.github.com/users/sigsegv0x0b/gists{/gist_id}","starred_url":"https://api.github.com/users/sigsegv0x0b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigsegv0x0b/subscriptions","organizations_url":"https://api.github.com/users/sigsegv0x0b/orgs","repos_url":"https://api.github.com/users/sigsegv0x0b/repos","events_url":"https://api.github.com/users/sigsegv0x0b/events{/privacy}","received_events_url":"https://api.github.com/users/sigsegv0x0b/received_events","type":"User","site_admin":false},"repo":{"id":55864917,"name":"collectd","full_name":"sigsegv0x0b/collectd","owner":{"login":"sigsegv0x0b","id":6982462,"avatar_url":"https://avatars.githubusercontent.com/u/6982462?v=3","gravatar_id":"","url":"https://api.github.com/users/sigsegv0x0b","html_url":"https://github.com/sigsegv0x0b","followers_url":"https://api.github.com/users/sigsegv0x0b/followers","following_url":"https://api.github.com/users/sigsegv0x0b/following{/other_user}","gists_url":"https://api.github.com/users/sigsegv0x0b/gists{/gist_id}","starred_url":"https://api.github.com/users/sigsegv0x0b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigsegv0x0b/subscriptions","organizations_url":"https://api.github.com/users/sigsegv0x0b/orgs","repos_url":"https://api.github.com/users/sigsegv0x0b/repos","events_url":"https://api.github.com/users/sigsegv0x0b/events{/privacy}","received_events_url":"https://api.github.com/users/sigsegv0x0b/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sigsegv0x0b/collectd","description":"The system statistics collection daemon. Mirror of the canonical repository (updated automatically). Please send Pull Requests here!","fork":true,"url":"https://api.github.com/repos/sigsegv0x0b/collectd","forks_url":"https://api.github.com/repos/sigsegv0x0b/collectd/forks","keys_url":"https://api.github.com/repos/sigsegv0x0b/collectd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sigsegv0x0b/collectd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sigsegv0x0b/collectd/teams","hooks_url":"https://api.github.com/repos/sigsegv0x0b/collectd/hooks","issue_events_url":"https://api.github.com/repos/sigsegv0x0b/collectd/issues/events{/number}","events_url":"https://api.github.com/repos/sigsegv0x0b/collectd/events","assignees_url":"https://api.github.com/repos/sigsegv0x0b/collectd/assignees{/user}","branches_url":"https://api.github.com/repos/sigsegv0x0b/collectd/branches{/branch}","tags_url":"https://api.github.com/repos/sigsegv0x0b/collectd/tags","blobs_url":"https://api.github.com/repos/sigsegv0x0b/collectd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sigsegv0x0b/collectd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sigsegv0x0b/collectd/git/refs{/sha}","trees_url":"https://api.github.com/repos/sigsegv0x0b/collectd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sigsegv0x0b/collectd/statuses/{sha}","languages_url":"https://api.github.com/repos/sigsegv0x0b/collectd/languages","stargazers_url":"https://api.github.com/repos/sigsegv0x0b/collectd/stargazers","contributors_url":"https://api.github.com/repos/sigsegv0x0b/collectd/contributors","subscribers_url":"https://api.github.com/repos/sigsegv0x0b/collectd/subscribers","subscription_url":"https://api.github.com/repos/sigsegv0x0b/collectd/subscription","commits_url":"https://api.github.com/repos/sigsegv0x0b/collectd/commits{/sha}","git_commits_url":"https://api.github.com/repos/sigsegv0x0b/collectd/git/commits{/sha}","comments_url":"https://api.github.com/repos/sigsegv0x0b/collectd/comments{/number}","issue_comment_url":"https://api.github.com/repos/sigsegv0x0b/collectd/issues/comments{/number}","contents_url":"https://api.github.com/repos/sigsegv0x0b/collectd/contents/{+path}","compare_url":"https://api.github.com/repos/sigsegv0x0b/collectd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sigsegv0x0b/collectd/merges","archive_url":"https://api.github.com/repos/sigsegv0x0b/collectd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sigsegv0x0b/collectd/downloads","issues_url":"https://api.github.com/repos/sigsegv0x0b/collectd/issues{/number}","pulls_url":"https://api.github.com/repos/sigsegv0x0b/collectd/pulls{/number}","milestones_url":"https://api.github.com/repos/sigsegv0x0b/collectd/milestones{/number}","notifications_url":"https://api.github.com/repos/sigsegv0x0b/collectd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sigsegv0x0b/collectd/labels{/name}","releases_url":"https://api.github.com/repos/sigsegv0x0b/collectd/releases{/id}","deployments_url":"https://api.github.com/repos/sigsegv0x0b/collectd/deployments","created_at":"2016-04-09T20:13:27Z","updated_at":"2016-04-09T20:13:30Z","pushed_at":"2016-04-15T17:12:50Z","git_url":"git://github.com/sigsegv0x0b/collectd.git","ssh_url":"git@github.com:sigsegv0x0b/collectd.git","clone_url":"https://github.com/sigsegv0x0b/collectd.git","svn_url":"https://github.com/sigsegv0x0b/collectd","homepage":"http://collectd.org/","size":13240,"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":"collectd:master","ref":"master","sha":"10b10a6718dbb87c6890d4bc821a6e21c8b7b527","user":{"login":"collectd","id":1027481,"avatar_url":"https://avatars.githubusercontent.com/u/1027481?v=3","gravatar_id":"","url":"https://api.github.com/users/collectd","html_url":"https://github.com/collectd","followers_url":"https://api.github.com/users/collectd/followers","following_url":"https://api.github.com/users/collectd/following{/other_user}","gists_url":"https://api.github.com/users/collectd/gists{/gist_id}","starred_url":"https://api.github.com/users/collectd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectd/subscriptions","organizations_url":"https://api.github.com/users/collectd/orgs","repos_url":"https://api.github.com/users/collectd/repos","events_url":"https://api.github.com/users/collectd/events{/privacy}","received_events_url":"https://api.github.com/users/collectd/received_events","type":"Organization","site_admin":false},"repo":{"id":3208640,"name":"collectd","full_name":"collectd/collectd","owner":{"login":"collectd","id":1027481,"avatar_url":"https://avatars.githubusercontent.com/u/1027481?v=3","gravatar_id":"","url":"https://api.github.com/users/collectd","html_url":"https://github.com/collectd","followers_url":"https://api.github.com/users/collectd/followers","following_url":"https://api.github.com/users/collectd/following{/other_user}","gists_url":"https://api.github.com/users/collectd/gists{/gist_id}","starred_url":"https://api.github.com/users/collectd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectd/subscriptions","organizations_url":"https://api.github.com/users/collectd/orgs","repos_url":"https://api.github.com/users/collectd/repos","events_url":"https://api.github.com/users/collectd/events{/privacy}","received_events_url":"https://api.github.com/users/collectd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collectd/collectd","description":"The system statistics collection daemon. Mirror of the canonical repository (updated automatically). Please send Pull Requests here!","fork":false,"url":"https://api.github.com/repos/collectd/collectd","forks_url":"https://api.github.com/repos/collectd/collectd/forks","keys_url":"https://api.github.com/repos/collectd/collectd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collectd/collectd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collectd/collectd/teams","hooks_url":"https://api.github.com/repos/collectd/collectd/hooks","issue_events_url":"https://api.github.com/repos/collectd/collectd/issues/events{/number}","events_url":"https://api.github.com/repos/collectd/collectd/events","assignees_url":"https://api.github.com/repos/collectd/collectd/assignees{/user}","branches_url":"https://api.github.com/repos/collectd/collectd/branches{/branch}","tags_url":"https://api.github.com/repos/collectd/collectd/tags","blobs_url":"https://api.github.com/repos/collectd/collectd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collectd/collectd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collectd/collectd/git/refs{/sha}","trees_url":"https://api.github.com/repos/collectd/collectd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collectd/collectd/statuses/{sha}","languages_url":"https://api.github.com/repos/collectd/collectd/languages","stargazers_url":"https://api.github.com/repos/collectd/collectd/stargazers","contributors_url":"https://api.github.com/repos/collectd/collectd/contributors","subscribers_url":"https://api.github.com/repos/collectd/collectd/subscribers","subscription_url":"https://api.github.com/repos/collectd/collectd/subscription","commits_url":"https://api.github.com/repos/collectd/collectd/commits{/sha}","git_commits_url":"https://api.github.com/repos/collectd/collectd/git/commits{/sha}","comments_url":"https://api.github.com/repos/collectd/collectd/comments{/number}","issue_comment_url":"https://api.github.com/repos/collectd/collectd/issues/comments{/number}","contents_url":"https://api.github.com/repos/collectd/collectd/contents/{+path}","compare_url":"https://api.github.com/repos/collectd/collectd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collectd/collectd/merges","archive_url":"https://api.github.com/repos/collectd/collectd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collectd/collectd/downloads","issues_url":"https://api.github.com/repos/collectd/collectd/issues{/number}","pulls_url":"https://api.github.com/repos/collectd/collectd/pulls{/number}","milestones_url":"https://api.github.com/repos/collectd/collectd/milestones{/number}","notifications_url":"https://api.github.com/repos/collectd/collectd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collectd/collectd/labels{/name}","releases_url":"https://api.github.com/repos/collectd/collectd/releases{/id}","deployments_url":"https://api.github.com/repos/collectd/collectd/deployments","created_at":"2012-01-18T13:07:51Z","updated_at":"2016-04-15T13:32:12Z","pushed_at":"2016-04-15T19:44:12Z","git_url":"git://github.com/collectd/collectd.git","ssh_url":"git@github.com:collectd/collectd.git","clone_url":"https://github.com/collectd/collectd.git","svn_url":"https://github.com/collectd/collectd","homepage":"http://collectd.org/","size":25660,"stargazers_count":1095,"watchers_count":1095,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":645,"mirror_url":null,"open_issues_count":362,"forks":645,"open_issues":362,"watchers":1095,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/collectd/collectd/pulls/1664"},"html":{"href":"https://github.com/collectd/collectd/pull/1664"},"issue":{"href":"https://api.github.com/repos/collectd/collectd/issues/1664"},"comments":{"href":"https://api.github.com/repos/collectd/collectd/issues/1664/comments"},"review_comments":{"href":"https://api.github.com/repos/collectd/collectd/pulls/1664/comments"},"review_comment":{"href":"https://api.github.com/repos/collectd/collectd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/collectd/collectd/pulls/1664/commits"},"statuses":{"href":"https://api.github.com/repos/collectd/collectd/statuses/f08194ec3442c5e21a00440366c567321b25e18f"}}}}