sfeed_json: fix name of url field for attachments - sfeed - RSS and Atom parser (HTM) git clone git://git.codemadness.org/sfeed (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit da8adbc02e4667a68077e5f0cab8548e2bb81c1b (DIR) parent db69f0f81d4796816c04e6330b963f907cbfded1 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 30 Nov 2023 17:59:18 +0100 sfeed_json: fix name of url field for attachments This was a typo: "url:" should be "url". Diffstat: M sfeed_json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/sfeed_json.c b/sfeed_json.c @@ -121,7 +121,7 @@ printfeed(FILE *fp, const char *feedname) } if (fields[FieldEnclosure][0]) { - fputs(",\n\t\"attachments\": [{\"url:\": \"", stdout); + fputs(",\n\t\"attachments\": [{\"url\": \"", stdout); printfield(fields[FieldEnclosure]); fputs("\"}]", stdout); }