On 08/22/2016 11:53 AM, Jiří Činčura wrote:
with some debugging code turned on.
Can I turn that on?
Please :)
diff --git a/src/remote/protocol.cpp b/src/remote/protocol.cpp
index 042d879..7f0648b 100644
--- a/src/remote/protocol.cpp
+++ b/src/remote/protocol.cpp
@@ -285,6 +285,10 @@ bool_t xdr_protocol(XDR* xdrs, PACKET* p)
if (!xdr_enum(xdrs, reinterpret_cast<xdr_op*>(&p->p_operation)))
return P_FALSE(xdrs, p);
+#ifdef COMPRESS_DEBUG
+ fprintf(stderr, "operation=%d\n", p->p_operation);
+#endif
+
switch (p->p_operation)
{
case op_reject:
diff --git a/src/remote/remote.h b/src/remote/remote.h
index 933c316..b7bd57b 100644
--- a/src/remote/remote.h
+++ b/src/remote/remote.h
@@ -61,7 +61,7 @@
#ifdef WIRE_COMPRESS_SUPPORT
#include <zlib.h>
-//#define COMPRESS_DEBUG 1
+#define COMPRESS_DEBUG 1
#endif // WIRE_COMPRESS_SUPPORT
#define REM_SEND_OFFSET(bs) (0)
------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel