X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-z-assoc.cpp;h=e268248d6060b17a080d65ec61a890c0d176af94;hb=bed85d2160500f57db63f4ab9d5533e0225cce15;hp=6048465a6149130ff379669096b0fdfa801e706b;hpb=e661675e0358c69a91c16e8a4e00dafbea1fabf9;p=yazpp-moved-to-github.git diff --git a/src/yaz-z-assoc.cpp b/src/yaz-z-assoc.cpp index 6048465..e268248 100644 --- a/src/yaz-z-assoc.cpp +++ b/src/yaz-z-assoc.cpp @@ -223,8 +223,8 @@ Z_GDU *Z_Assoc::decode_GDU(const char *buf, int len) if (len > 0) { WRBUF w = wrbuf_alloc(); - wrbuf_write_escaped(w, buf, len > 20 ? 20 : len); - yaz_log(YLOG_LOG, "Buffer content: %s", wrbuf_cstr(w)); + wrbuf_write_escaped(w, buf, len > 1024 ? 1024 : len); + yaz_log(YLOG_LOG, "Buffer bytes: %s", wrbuf_cstr(w)); wrbuf_destroy(w); } yaz_log(YLOG_LOG, "PDU dump:");