Fixed bug #2116: Invalid: returning value from void func in wrbuf.c.
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 4 Apr 2008 11:26:29 +0000 (13:26 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 4 Apr 2008 11:26:29 +0000 (13:26 +0200)
src/wrbuf.c

index e80f98a..83b296b 100644 (file)
@@ -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)