{"action":"created","issue":{"url":"https://api.github.com/repos/krb5/krb5/issues/290","labels_url":"https://api.github.com/repos/krb5/krb5/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/krb5/krb5/issues/290/comments","events_url":"https://api.github.com/repos/krb5/krb5/issues/290/events","html_url":"https://github.com/krb5/krb5/pull/290","id":91234597,"number":290,"title":"Deindent krb5_string_to_keysalts","user":{"login":"tlyu","id":431873,"avatar_url":"https://avatars.githubusercontent.com/u/431873?v=3","gravatar_id":"","url":"https://api.github.com/users/tlyu","html_url":"https://github.com/tlyu","followers_url":"https://api.github.com/users/tlyu/followers","following_url":"https://api.github.com/users/tlyu/following{/other_user}","gists_url":"https://api.github.com/users/tlyu/gists{/gist_id}","starred_url":"https://api.github.com/users/tlyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlyu/subscriptions","organizations_url":"https://api.github.com/users/tlyu/orgs","repos_url":"https://api.github.com/users/tlyu/repos","events_url":"https://api.github.com/users/tlyu/events{/privacy}","received_events_url":"https://api.github.com/users/tlyu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-26T12:09:38Z","updated_at":"2015-06-26T15:55:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/krb5/krb5/pulls/290","html_url":"https://github.com/krb5/krb5/pull/290","diff_url":"https://github.com/krb5/krb5/pull/290.diff","patch_url":"https://github.com/krb5/krb5/pull/290.patch"},"body":"Remove a level of indentation for the list-appending part of the\r\nkrb5_string_to_keysalts() loop body by consolidating the strtok_r()\r\ncalls into the controlling expreession of the loop."},"comment":{"url":"https://api.github.com/repos/krb5/krb5/issues/comments/115739328","html_url":"https://github.com/krb5/krb5/pull/290#issuecomment-115739328","issue_url":"https://api.github.com/repos/krb5/krb5/issues/290","id":115739328,"user":{"login":"greghudson","id":1131421,"avatar_url":"https://avatars.githubusercontent.com/u/1131421?v=3","gravatar_id":"","url":"https://api.github.com/users/greghudson","html_url":"https://github.com/greghudson","followers_url":"https://api.github.com/users/greghudson/followers","following_url":"https://api.github.com/users/greghudson/following{/other_user}","gists_url":"https://api.github.com/users/greghudson/gists{/gist_id}","starred_url":"https://api.github.com/users/greghudson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greghudson/subscriptions","organizations_url":"https://api.github.com/users/greghudson/orgs","repos_url":"https://api.github.com/users/greghudson/repos","events_url":"https://api.github.com/users/greghudson/events{/privacy}","received_events_url":"https://api.github.com/users/greghudson/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T15:55:22Z","updated_at":"2015-06-26T15:55:22Z","body":"Seems okay.  I think a for loop could also work to eliminate the need for p, but I don't have a strong preference.\r\n\r\n    for (ksp = strtok_r(copy, tseps, &tlasts); ksp != NULL;\r\n          ksp = strtok_r(NULL, tsteps, &tlasts)) {\r\n"}}