From 52188379291c43d463d4ee6742cf81a700541723 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 4 Apr 2008 13:26:29 +0200 Subject: [PATCH] Fixed bug #2116: Invalid: returning value from void func in wrbuf.c. --- src/wrbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrbuf.c b/src/wrbuf.c index e80f98a..83b296b 100644 --- a/src/wrbuf.c +++ b/src/wrbuf.c @@ -245,7 +245,7 @@ void wrbuf_cut_right(WRBUF b, size_t no_to_remove) void wrbuf_puts_escaped(WRBUF b, const char *str) { - return wrbuf_write_escaped(b, str, strlen(str)); + wrbuf_write_escaped(b, str, strlen(str)); } void wrbuf_write_escaped(WRBUF b, const char *str, size_t len) -- 1.7.10.4