diff options
author | David Robillard <d@drobilla.net> | 2020-08-15 14:46:05 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-15 22:52:05 +0200 |
commit | 907891c4f69a97299bef14bc64f417d009792795 (patch) | |
tree | 3109b75b87c74cabb3ea5d57ac0b57c32af51394 /src | |
parent | bdf35e8a26e3da860753f493040fbdba508b4a62 (diff) | |
download | serd-907891c4f69a97299bef14bc64f417d009792795.tar.gz serd-907891c4f69a97299bef14bc64f417d009792795.tar.bz2 serd-907891c4f69a97299bef14bc64f417d009792795.zip |
Exploit push_byte return status
Diffstat (limited to 'src')
-rw-r--r-- | src/n3.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -253,8 +253,7 @@ read_character(SerdReader* reader, Ref dest, SerdNodeFlags* flags, uint8_t c) default: break; } - push_byte(reader, dest, c); - return SERD_SUCCESS; + return push_byte(reader, dest, c); } return read_utf8_character(reader, dest, c); } |