From 52590dbeb23100320417d6f72e20fadf215479e5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 6 Jan 2017 14:45:21 -0500 Subject: Tidy --- src/writer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/writer.c') diff --git a/src/writer.c b/src/writer.c index 59c05420..ce13d79b 100644 --- a/src/writer.c +++ b/src/writer.c @@ -252,7 +252,7 @@ write_uri(SerdWriter* writer, const uint8_t* utf8, size_t n_bytes) // Bulk write all characters up to this special one len += sink(&utf8[i], j - i, writer); - if ((i = j) == n_bytes) { + if ((i = j) == n_bytes) { break; // Reached end } @@ -299,7 +299,7 @@ write_lname(SerdWriter* writer, const uint8_t* utf8, size_t n_bytes) // Bulk write all characters up to this special one len += sink(&utf8[i], j - i, writer); - if ((i = j) == n_bytes) { + if ((i = j) == n_bytes) { break; // Reached end } -- cgit v1.2.1