SMOLNET PORTAL home about changes
sfeed_json: fix name of url field for attachments - sfeed - RSS and Atom parser
(URL) git clone git://git.codemadness.org/sfeed (git://git.codemadness.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit da8adbc02e4667a68077e5f0cab8548e2bb81c1b
(DIR) parent db69f0f81d4796816c04e6330b963f907cbfded1
(URL) Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) application/vnd.lotus-organizer
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);
}
Response: application/gopher-menu
Original URLgopher://codemadness.org/1/git/sfeed/commit/da8adbc02e466...
Content-Typeapplication/gopher-menu; charset=utf-8