X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fwrbuf.c;h=af5fb28be185e5036b7c0bb442f029c4eafad0c1;hb=5f15a8d9071bf901861d332e7d512109df57bea3;hp=c05b7a0b892e2e9642d899a4cc1e92232e35073f;hpb=2788a4851b551e1a3efb320a2878b809f2d8a9d7;p=yaz-moved-to-github.git diff --git a/src/wrbuf.c b/src/wrbuf.c index c05b7a0..af5fb28 100644 --- a/src/wrbuf.c +++ b/src/wrbuf.c @@ -163,7 +163,7 @@ static int wrbuf_iconv_write_x(WRBUF b, yaz_iconv_t cd, const char *buf, { if (cd) { - char outbuf[16]; + char outbuf[128]; size_t inbytesleft = size; const char *inp = buf; while (inbytesleft) @@ -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