From febb30141356df83a56026bbb14099e3cb2c82fc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 5 May 2023 10:34:37 -0400 Subject: Use more human-readable status codes --- src/byte_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/byte_sink.h') diff --git a/src/byte_sink.h b/src/byte_sink.h index 0b4a83b1..0f3d35f5 100644 --- a/src/byte_sink.h +++ b/src/byte_sink.h @@ -41,7 +41,7 @@ serd_byte_sink_flush(SerdByteSink* bsink) const size_t n_out = bsink->sink(bsink->buf, size, bsink->stream); bsink->size = 0; - return (n_out != size) ? SERD_ERR_BAD_WRITE : SERD_SUCCESS; + return (n_out != size) ? SERD_BAD_WRITE : SERD_SUCCESS; } return SERD_SUCCESS; -- cgit v1.2.1