commit da8adbc02e4667a68077e5f0cab8548e2bb81c1b
parent db69f0f81d4796816c04e6330b963f907cbfded1
Author: Hiltjo Posthuma <[email protected]>
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:
1 file changed, 1 insertion( ), 1 deletion(-)
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);
}