X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fwrbuf.c;h=9322f9083846fc7f1c1d0bf4bf3956dcf9e85509;hb=50910e85f05204a853e7e6975b1e3ef0adf1dbe6;hp=f9affa3bb9626b0c400c1e28ebee2aec126dcd5d;hpb=a7bff1cefa274c110b80458cba718db5ed0fd97d;p=yaz-moved-to-github.git diff --git a/src/wrbuf.c b/src/wrbuf.c index f9affa3..9322f90 100644 --- a/src/wrbuf.c +++ b/src/wrbuf.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data + * Copyright (C) 1995-2009 Index Data * See the file LICENSE for details. */ @@ -78,9 +78,9 @@ int wrbuf_puts(WRBUF b, const char *buf) return 0; } -void wrbug_put(WRBUF b, const char *buf) +void wrbuf_vputs(const char *buf, void *client_data) { - wrbuf_write(b, buf, strlen(buf)); + wrbuf_write((WRBUF) client_data, buf, strlen(buf)); } int wrbuf_puts_replace_char(WRBUF b, const char *buf, @@ -266,6 +266,7 @@ void wrbuf_write_escaped(WRBUF b, const char *str, size_t len) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab