{"action":"created","issue":{"url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/370","repository_url":"https://api.github.com/repos/volkszaehler/vzlogger","labels_url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/370/comments","events_url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/370/events","html_url":"https://github.com/volkszaehler/vzlogger/pull/370","id":394981532,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNTY0ODI3","number":370,"title":"Added automatic reopen of underlying device in case of libsml read 0.","user":{"login":"mbehr1","id":3258891,"node_id":"MDQ6VXNlcjMyNTg4OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3258891?v=4","gravatar_id":"","url":"https://api.github.com/users/mbehr1","html_url":"https://github.com/mbehr1","followers_url":"https://api.github.com/users/mbehr1/followers","following_url":"https://api.github.com/users/mbehr1/following{/other_user}","gists_url":"https://api.github.com/users/mbehr1/gists{/gist_id}","starred_url":"https://api.github.com/users/mbehr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbehr1/subscriptions","organizations_url":"https://api.github.com/users/mbehr1/orgs","repos_url":"https://api.github.com/users/mbehr1/repos","events_url":"https://api.github.com/users/mbehr1/events{/privacy}","received_events_url":"https://api.github.com/users/mbehr1/received_events","type":"User","site_admin":false},"labels":[{"id":155765830,"node_id":"MDU6TGFiZWwxNTU3NjU4MzA=","url":"https://api.github.com/repos/volkszaehler/vzlogger/labels/Enhancement","name":"Enhancement","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-12-31T13:35:37Z","updated_at":"2019-01-02T06:44:48Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/volkszaehler/vzlogger/pulls/370","html_url":"https://github.com/volkszaehler/vzlogger/pull/370","diff_url":"https://github.com/volkszaehler/vzlogger/pull/370.diff","patch_url":"https://github.com/volkszaehler/vzlogger/pull/370.patch"},"body":"As a workaround for #362 added an automatic reopen if\r\nsml_transport_read returns 0 bytes.\r\nAdded a few minor issues like uninitialized variables (_fd), missing free in error case as well.\r\nIssue: #362\r\n\r\nUntested (as I have no good SML device nor mock)."},"comment":{"url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/comments/450795395","html_url":"https://github.com/volkszaehler/vzlogger/pull/370#issuecomment-450795395","issue_url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/370","id":450795395,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDc5NTM5NQ==","user":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T06:44:48Z","updated_at":"2019-01-02T06:44:48Z","author_association":"CONTRIBUTOR","body":"Likely more effort than worth it since a decent editor will do this automatically due to .editorconfig."}}
{"actor":{"display_login":"andig"}}