aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/writer.c b/src/writer.c
index 5c99b366..91113d97 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -444,18 +444,13 @@ write_list_obj(SerdWriter* writer,
const SerdNode* lang)
{
if (!strcmp((const char*)object->buf, NS_RDF "nil")) {
- if (flags & SERD_LIST_CONT) {
- --writer->indent;
- write_sep(writer, SEP_LIST_END);
- return true;
- } else {
- sink("()", 2, writer);
- }
+ --writer->indent;
+ write_sep(writer, SEP_LIST_END);
+ return true;
} else if (strcmp((const char*)predicate->buf, NS_RDF "rest")) {
if (!strcmp((const char*)predicate->buf, NS_RDF "first")) {
write_sep(writer, SEP_LIST_SEP);
}
-
write_node(writer, object, datatype, lang, FIELD_OBJECT, flags);
}
return false;