{"action":"closed","issue":{"url":"https://api.github.com/repos/embedthis/goahead/issues/146","labels_url":"https://api.github.com/repos/embedthis/goahead/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/embedthis/goahead/issues/146/comments","events_url":"https://api.github.com/repos/embedthis/goahead/issues/146/events","html_url":"https://github.com/embedthis/goahead/issues/146","id":92673779,"number":146,"title":"websJstWrite has incorrect length in argument space","user":{"login":"embedthis","id":168175,"avatar_url":"https://avatars.githubusercontent.com/u/168175?v=3","gravatar_id":"","url":"https://api.github.com/users/embedthis","html_url":"https://github.com/embedthis","followers_url":"https://api.github.com/users/embedthis/followers","following_url":"https://api.github.com/users/embedthis/following{/other_user}","gists_url":"https://api.github.com/users/embedthis/gists{/gist_id}","starred_url":"https://api.github.com/users/embedthis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embedthis/subscriptions","organizations_url":"https://api.github.com/users/embedthis/orgs","repos_url":"https://api.github.com/users/embedthis/repos","events_url":"https://api.github.com/users/embedthis/events{/privacy}","received_events_url":"https://api.github.com/users/embedthis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/embedthis/goahead/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/embedthis/goahead/milestones/27","html_url":"https://github.com/embedthis/goahead/milestones/3.4.10","labels_url":"https://api.github.com/repos/embedthis/goahead/milestones/27/labels","id":1177727,"number":27,"title":"3.4.10","description":"","creator":{"login":"embedthis","id":168175,"avatar_url":"https://avatars.githubusercontent.com/u/168175?v=3","gravatar_id":"","url":"https://api.github.com/users/embedthis","html_url":"https://github.com/embedthis","followers_url":"https://api.github.com/users/embedthis/followers","following_url":"https://api.github.com/users/embedthis/following{/other_user}","gists_url":"https://api.github.com/users/embedthis/gists{/gist_id}","starred_url":"https://api.github.com/users/embedthis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embedthis/subscriptions","organizations_url":"https://api.github.com/users/embedthis/orgs","repos_url":"https://api.github.com/users/embedthis/repos","events_url":"https://api.github.com/users/embedthis/events{/privacy}","received_events_url":"https://api.github.com/users/embedthis/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-06-23T16:37:38Z","updated_at":"2015-07-07T05:16:53Z","due_on":"2015-07-31T07:00:00Z","closed_at":null},"comments":0,"created_at":"2015-07-02T16:05:29Z","updated_at":"2015-07-07T05:16:53Z","closed_at":"2015-07-07T05:16:53Z","body":"```\r\nPUBLIC int websJstWrite(int jid, Webs *wp, int argc, char **argv)\r\n{\r\n    int     i;\r\n\r\n    assert(websValid(wp));\r\n    \r\n    for (i = 0; i < argc; ) {\r\n        assert(argv);\r\n        if (websWriteBlock(wp, argv[i], strlen(argv[i])) < 0) {\r\n            return -1;\r\n        }\r\n        if (++i < argc) {\r\n            if (websWriteBlock(wp, \" \", 2) < 0) { //delete\r\n            if (websWriteBlock(wp, \" \", 1) < 0) { //modify\r\n                return -1;\r\n            }\r\n        }\r\n    }\r\n    return 0;\r\n}\r\n```\r\n"}}