git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3b8c11b
)
ndr_compression: change debug levels
author
Stefan Metzmacher
<metze@samba.org>
Sat, 6 Sep 2008 08:55:04 +0000
(10:55 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 6 Sep 2008 14:16:40 +0000
(16:16 +0200)
metze
(This used to be commit
83446e22dd1eda958ef62bbe998da0a47b9ff8ef
)
source4/librpc/ndr/ndr_compression.c
patch
|
blob
|
history
diff --git
a/source4/librpc/ndr/ndr_compression.c
b/source4/librpc/ndr/ndr_compression.c
index a92877ccc205420b4296eb182d3b270d671a05dc..5939c3838aa187f73230bc920bdc4e21651463ac 100644
(file)
--- a/
source4/librpc/ndr/ndr_compression.c
+++ b/
source4/librpc/ndr/ndr_compression.c
@@
-57,8
+57,8
@@
static enum ndr_err_code ndr_pull_compression_mszip_chunk(struct ndr_pull *ndrpu
NDR_CHECK(ndr_pull_uint32(ndrpull, NDR_SCALARS, &comp_chunk_size));
NDR_CHECK(ndr_pull_uint32(ndrpull, NDR_SCALARS, &comp_chunk_size));
- DEBUG(
10
,("MSZIP plain_chunk_size: %08X (%u) comp_chunk_size: %08X (%u)\n",
-
plain_chunk_size, plain_chunk_size, comp_chunk_size, comp_chunk_size));
+ DEBUG(
9
,("MSZIP plain_chunk_size: %08X (%u) comp_chunk_size: %08X (%u)\n",
+ plain_chunk_size, plain_chunk_size, comp_chunk_size, comp_chunk_size));
comp_chunk_offset = ndrpull->offset;
NDR_CHECK(ndr_pull_advance(ndrpull, comp_chunk_size));
comp_chunk_offset = ndrpull->offset;
NDR_CHECK(ndr_pull_advance(ndrpull, comp_chunk_size));
@@
-259,8
+259,8
@@
static enum ndr_err_code ndr_push_compression_mszip_chunk(struct ndr_push *ndrpu
NDR_CHECK(ndr_push_uint32(ndrpush, NDR_SCALARS, comp_chunk_size));
ndrpush->offset = tmp_offset;
NDR_CHECK(ndr_push_uint32(ndrpush, NDR_SCALARS, comp_chunk_size));
ndrpush->offset = tmp_offset;
- DEBUG(
10
,("MSZIP comp plain_chunk_size: %08X (%u) comp_chunk_size: %08X (%u)\n",
-
plain_chunk.length, plain_chunk.length, comp_chunk_size, comp_chunk_size));
+ DEBUG(
9
,("MSZIP comp plain_chunk_size: %08X (%u) comp_chunk_size: %08X (%u)\n",
+ plain_chunk.length, plain_chunk.length, comp_chunk_size, comp_chunk_size));
ndrpush->offset += comp_chunk_size;
return NDR_ERR_SUCCESS;
ndrpush->offset += comp_chunk_size;
return NDR_ERR_SUCCESS;
@@
-295,8
+295,8
@@
static enum ndr_err_code ndr_pull_compression_xpress_chunk(struct ndr_pull *ndrp
plain_chunk.length = plain_chunk_size;
plain_chunk.data = ndrpush->data + plain_chunk_offset;
plain_chunk.length = plain_chunk_size;
plain_chunk.data = ndrpush->data + plain_chunk_offset;
- DEBUG(
10
,("XPRESS plain_chunk_size: %08X (%u) comp_chunk_size: %08X (%u)\n",
-
plain_chunk_size, plain_chunk_size, comp_chunk_size, comp_chunk_size));
+ DEBUG(
9
,("XPRESS plain_chunk_size: %08X (%u) comp_chunk_size: %08X (%u)\n",
+ plain_chunk_size, plain_chunk_size, comp_chunk_size, comp_chunk_size));
/* Uncompressing the buffer using LZ Xpress algorithm */
lzxpress_decompress(&comp_chunk, &plain_chunk);
/* Uncompressing the buffer using LZ Xpress algorithm */
lzxpress_decompress(&comp_chunk, &plain_chunk);