From: Adam Dickmeiss Date: Fri, 4 Apr 2008 11:26:29 +0000 (+0200) Subject: Fixed bug #2116: Invalid: returning value from void func in wrbuf.c. X-Git-Tag: v3.0.30~56 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=52188379291c43d463d4ee6742cf81a700541723;p=yaz-moved-to-github.git Fixed bug #2116: Invalid: returning value from void func in wrbuf.c. --- 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)