commit e789f02b267046e82b75e50ea5239a477e7e1d75 from: Omar Polo date: Thu Mar 28 23:00:03 2024 UTC got-notify-http: fix threshold for reading the tag message commit - 763b7f49146da1df5142d9f88651f4516b1d1a88 commit + e789f02b267046e82b75e50ea5239a477e7e1d75 blob - 4877c0752c043c855ee2cdcfefe71db2894b1bb7 blob + 2b04222ed9896664bd3fd8b05fc126ae38feb27a --- gotd/libexec/got-notify-http/got-notify-http.c +++ gotd/libexec/got-notify-http/got-notify-http.c @@ -652,7 +652,7 @@ jsonify_tag(FILE *fp, char **line, ssize_t *linesize) } msglen -= linelen + 1; - if (msglen <= 1) { + if (msglen <= 0) { fprintf(fp, "\""); done = 1; break;