From 180c90e48f1d24352d25965a6d880b762c0c4d84 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Thu, 6 Jun 2024 21:40:59 +0200 Subject: Add custom type format to log_value --- any_sexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'any_sexp.h') diff --git a/any_sexp.h b/any_sexp.h index 534c455..31aa2c0 100644 --- a/any_sexp.h +++ b/any_sexp.h @@ -377,7 +377,7 @@ any_sexp_t any_sexp_read(any_sexp_reader_t *reader) static int any_sexp_writer_puts(any_sexp_writer_t *writer, const char *string) { int i; - for (i = 0; string[i] != '\0', i++) { + for (i = 0; string[i] != '\0'; i++) { if (writer->putc(string[i], writer->stream) == EOF) return EOF; } -- cgit v1.2.3