]> arthur.barton.de Git - netatalk.git/commitdiff
Remove accesive logging
authorFrank Lahm <franklahm@googlemail.com>
Tue, 25 Sep 2012 23:30:11 +0000 (01:30 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Tue, 25 Sep 2012 23:30:11 +0000 (01:30 +0200)
etc/afpd/spotlight_marshalling.c

index f91a83be88b1fa6aff6b1cd69f48ecdda2fad6c4..85207f655eba421e87fd06a535eaf395f2e7f674 100644 (file)
@@ -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;