summaryrefslogtreecommitdiff
path: root/sfeed_json.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2023-11-30 17:59:18 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2023-11-30 17:59:18 +0100
commitda8adbc02e4667a68077e5f0cab8548e2bb81c1b (patch)
tree59cd3313d4c48abfd62431dd94cfe6e4d64045ae /sfeed_json.c
parentdb69f0f81d4796816c04e6330b963f907cbfded1 (diff)
sfeed_json: fix name of url field for attachments
This was a typo: "url:" should be "url".
Diffstat (limited to 'sfeed_json.c')
-rw-r--r--sfeed_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_json.c b/sfeed_json.c
index 4fe5942..4e1f52c 100644
--- 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);
}