From 9b28578d36cd9ae5c6dae31469198c9ced1e3d67 Mon Sep 17 00:00:00 2001 From: Frank Lahm Date: Wed, 26 Sep 2012 01:30:11 +0200 Subject: [PATCH] Remove accesive logging --- etc/afpd/spotlight_marshalling.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/etc/afpd/spotlight_marshalling.c b/etc/afpd/spotlight_marshalling.c index f91a83be..85207f65 100644 --- a/etc/afpd/spotlight_marshalling.c +++ b/etc/afpd/spotlight_marshalling.c @@ -193,8 +193,6 @@ static int sl_pack_array(sl_array_t *array, char *buf, int offset, char *toc_buf int count = talloc_array_length(array->dd_talloc_array); int octets = (offset + SL_OFFSET_DELTA) / 8; - LOG(log_maxdebug, logtype_sl, "sl_pack_array: count: %d, offset:%d, octets: %d", count, offset, octets); - SLVAL(toc_buf, *toc_idx * 8, sl_pack_tag(SQ_CPX_TYPE_ARRAY, octets, count)); SLVAL(buf, offset, sl_pack_tag(SQ_TYPE_COMPLEX, 1, *toc_idx + 1)); *toc_idx += 1; @@ -243,9 +241,6 @@ static int sl_pack_string(char *s, char *buf, int offset, char *toc_buf, int *to octets = (len / 8) + (len & 7 ? 1 : 0); used_in_last_octet = 8 - (octets * 8 - len); - LOG(log_maxdebug, logtype_sl, "sl_pack_string(\"%s\"): len: %d, octets: %d, used_in_last_octet: %d", - s, len, octets, used_in_last_octet); - SLVAL(toc_buf, *toc_idx * 8, sl_pack_tag(SQ_CPX_TYPE_STRING, (offset + SL_OFFSET_DELTA) / 8, used_in_last_octet)); SLVAL(buf, offset, sl_pack_tag(SQ_TYPE_COMPLEX, 1, *toc_idx + 1)); *toc_idx += 1; -- 2.39.2