summaryrefslogtreecommitdiff
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
parentdb69f0f81d4796816c04e6330b963f907cbfded1 (diff)
sfeed_json: fix name of url field for attachments
This was a typo: "url:" should be "url".
-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);
}